Quantcast
Channel: Allow non-root process to bind to port 80 and 443? - Super User
Viewing all articles
Browse latest Browse all 8

Answer by soleuu for Allow non-root process to bind to port 80 and 443?

$
0
0

Simplest solution : remove all privileged ports on linux

Works on ubuntu/debian :

#save configuration permanentlyecho 'net.ipv4.ip_unprivileged_port_start=0'> /etc/sysctl.d/50-unprivileged-ports.conf#apply confsysctl --system

(works well for VirtualBox with non-root account)

Now, be carefull about security because all users can bind all ports !


Viewing all articles
Browse latest Browse all 8

Trending Articles