Skip to content

Host webserver on Port 80 #1861

Open
Open
@mcm001

Description

@mcm001

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)

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions