For your convenience, enable the server to listen on privileged ports while running as a non-root user.
Linux systems have a mechanism called capabilities that is used to grant specific commands the ability to do things that are normally only allowed for a root account:
- The setcap command assigns capabilities to an application.
- The cap_net_bind_service capability enables a service to bind a socket to privileged ports (port numbers less than 1024).