|
Hello: How to change port 8080 to other ports? Thank you |
Answered by
kalifun
Sep 10, 2021
Replies: 1 comment
|
Use the ❯ go run main.go serve --help Usage: Flags: Global Flags: |
0 replies
Answer selected by
fmartingr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the
-pflag:❯ 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