(13)Permission denied: make_sock: could not bind to address
While starting webserver following message is displayed, (13)Permission denied: make_sock: could not bind to address
Following message appears while starting the services of apache web server,
[root@machine ~]# service httpd start
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Resolution
In Linux ports from 0 to 1024 are reserved for system use. In order to use any of these ports a proper access rights needs to be available for the user. The root user has such privileges and can actually use a port from the range 0 – 1024.Start the services with root user as it contains specific rights to bind to the port.
