[GH-ISSUE #7] option to change the port #5

Closed
opened 2026-02-25 23:33:14 +03:00 by kerem · 2 comments
Owner

Originally created by @peterbeck on GitHub (Mar 1, 2018).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/7

Is it possible to add a parameter to use another port than 8080 in serve-mode?

Originally created by @peterbeck on GitHub (Mar 1, 2018). Original GitHub issue: https://github.com/go-shiori/shiori/issues/7 Is it possible to add a parameter to use another port than 8080 in serve-mode?
kerem closed this issue 2026-02-25 23:33:14 +03:00
Author
Owner

@RadhiFadlillah commented on GitHub (Mar 1, 2018):

Yes, you can by using --port or -p flag. For more details, you can run shiori serve -h :

$ shiori serve -h
Run a simple annd 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:
  -h, --help       help for serve
  -p, --port int   Port that used by server (default 8080)
<!-- gh-comment-id:369607745 --> @RadhiFadlillah commented on GitHub (Mar 1, 2018): Yes, you can by using `--port` or `-p` flag. For more details, you can run `shiori serve -h` : ``` $ shiori serve -h Run a simple annd 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: -h, --help help for serve -p, --port int Port that used by server (default 8080) ```
Author
Owner

@peterbeck commented on GitHub (Mar 1, 2018):

d'oh, now I feel stupid, thanks a lot for the info I could have found myself... ;-)

<!-- gh-comment-id:369751286 --> @peterbeck commented on GitHub (Mar 1, 2018): d'oh, now I feel stupid, thanks a lot for the info I could have found myself... ;-)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#5
No description provided.