JORDAN.YELLOZ.me

Here it is.

If you ever wanted to run an Internet server application as an unprivleged user but at a well-known port number on a non-crappy OS you don’t need to shed your privleges after starting the application as root. All you need to do is use your built-in firewall to map the privleged port to the user-defined port and everything can work nicely. If you want to access it as from the same machine (for development), you might have to map all outgoing packets to the well-known port on your loopback device to the user defined port, too. I typed some keywords about this into a search engine and it gave me that answer and it’s quite convenient. It definitely beats using AJP or HTTP proxying.

Posted on

Revisions: