3 ms·
In the video you mentioned that you had to run the script as root. Can you explain why?
by jklein11 9y ago
In the video you mentioned that you had to run the script as root. Can you explain why?
- simple10 9y agoRoot is required to bind to ports lower than 1024. Normal Unix restrictions. https://unix.stackexchange.com/questions/16564/why-are-the-first-1024-ports-restricted-to-the-root-user-only https://unix.stackexchange.com/questions/16564/why-are-the-f...
- jklein11 9y agoIs this the only reason? It looks like the port is configurable. I would prefer to put a reverse proxy in front of an application and leave it on a port > 1024 than give an application root privileges.