Proposal: add --bind flag to specify listen address#96
Merged
k1LoW merged 1 commit intok1LoW:mainfrom Mar 10, 2026
Merged
Conversation
Owner
|
@110y Thank you!! |
Contributor
Author
|
Thank you for accepting this PR! Now I'm reading Markdown files using
Thank you for following up my PR! Regarding this point, I send another PR #103 to make us to be able to skip the confirmation. I appreciate if you could take another look at the PR 🙏 (Please feel free to close the PR if it's not acceptable 🙏 ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
--bindflag to allow us to change listen address fromlocalhostWhy
I'm using
moon my Linux server and viewing Markdown files from another device like a laptop PC.Since now
moalways useslocalhostto listen on, I need to use some kind of reverse port forwarding technique like SSH options to connect to the remotemoserver.This works fine on a PC, but regarding a mobile device like iPhone, it's difficult to use this technique.
If
moallows us to change its binding address fromlocalhost, we can connect tomofrom other devices like a mobile device (via some kind of VPN like Tailscale to connect to servers).I know my use case is bit tricky, but other Markdown viewer like markserv or madness also allow us to change the address.
@k1LoW I appreciate if you could take a look at this proposal, thanks!