Skip to content

How to modify port 8080 #360

Answered by kalifun
agy2009 asked this question in Q&A
Discussion options

You must be logged in to vote

Use the -p flag:

❯ go run main.go serve --help
Run a simple and performant web server which serves the site for managing bookmarks. If --port flag is not used, it will use port 8080 by default.

Usage:
shiori serve [flags]

Flags:
-a, --address string Address the server listens to
-h, --help help for serve
-p, --port int Port used by the server (default 8080)
-r, --webroot string Root path that used by server (default "/")

Global Flags:
--portable run shiori in portable mode

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fmartingr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #317 on February 10, 2022 21:38.