Description
Is your feature request related to a problem? Please describe.
As far back as 2016, ports 80 and 443 have been unblocked. We chose to use port 5800 though, and i couldn't find justification for this reason (see potential issues below)
Describe the solution you'd like
We could bind to port 80 instead. This is a Well Known Port, and requires elevated permissions on most systems. On Linux, you can setcap CAP_NET_BIND_SERVICE
to do this.
Photon's install scripts only ever run as root, but this will make testing via gradlew run
harder or impossible on some systems if other processes are already using this port, or the user
Describe alternatives you've considered
Stay with port 5800. It hasn't hurt anyone yet, and makes testing easy as it's outside the Well Known Port range.