How do I use port 80 as a non root user?
On Unix based systems, port 80 is protected and can only be opened by
the superuser root. As it is not desirable to run the server as root (for
security reasons), the normal solution is as follows:
- Configure the server to run as a normal user on port 8080 (or some other non protected port).
- Configure the operating system to redirect port 80 to 8080 using ipchains, iptables, ipfw or a similar mechanism.