Q. How do I fix an error, while restarting Apache ~ Address already in use: make_sock: could not bind to port 80?
A. If you are running SELinux disable temporary for port 80.
Apache Address already in use: make_sock: could not bind to port 80 error and solution
First make sure port 80/443 is not used by any other service or application with netstat command:
# netstat -tulpn| grep :80
If port 80 is bind to httpd, kill all process:
# killall -9 httpd
Now start the httpd:
# /etc/init.d/httpd start
Also make sure you are root while starting the httpd.
Originally posted 2016-03-08 02:39:24.