karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
298 stars 106 forks source link

Debian 9 Server does not start on Port 80 #264

Closed MarvinSk closed 5 years ago

MarvinSk commented 5 years ago

Hello All,

I am running Debian 9.9.0

I have successfully installed Icecast and was able to Start the Server with config default on PORT 8000

Specifically for my needs i need to run the server on PORT 80

I get the following errors: EROR connection/connection_setup_sockets Could not create listener socket on port 80 EROR connection/connection_setup_sockets unable to setup all listening sockets

THIS IS MY NETSTAT NOTHING ON PORT 80: netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 425/sshd

FURTHER DISCOVERY I FOUND I CAN START ICECAST SERVER FROM PORT 1024 and UP... ANYTHING BELOW 1024 produces the same error...

IS THIS ICECAST OR DEBIAN ISSUE

Please Help

MarvinSk commented 5 years ago

Solved the problem

apt-get install libcap2-bin

setcap 'cap_net_bind_service=+ep' /usr/local/bin/icecast