Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start server: listen tcp :443: bind: permission denied #13

Open
monomycelium opened this issue Oct 30, 2022 · 1 comment
Open

start server: listen tcp :443: bind: permission denied #13

monomycelium opened this issue Oct 30, 2022 · 1 comment

Comments

@monomycelium
Copy link

monomycelium commented Oct 30, 2022

I love this speedy file server! But when I start the server, I cannot use ports 80 and 443 (because they are restricted, I believe), so I have to start as root. Is there a workaround? I have apache, the webserver, installed on my server running Arch Linux ARM, so a user http was created. But starting the server from that user still can't bind to those ports.

@majal
Copy link

majal commented Dec 28, 2022

In Linux, port numbers below 1024 are privileged ports. The can only be bound using root or sudo privileges. There are workarounds, but they tend to be complex.

Example: https://stackoverflow.com/q/413807

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants