Replies: 1 comment 3 replies
-
On my Linux machine, I do need
I googled "macos bind privileged ports" and this are the top 2 results:
So it seems like you don't need root permissions anymore to bind privileged ports since macOS Mojave (10.14). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I noticed if I run
next -p 1023 --hostname example.org
on macOS, the script will fail unless I run it withsudo
. But if I just runnext -p 1023
it will bind the port successfully without root permissions.If the problem was the low port number I would expect sudo to be required no matter if I try to bind it to a hostname or leave the default one set.
Why is sudo required for this specific combination?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions