Address already in use: make_sock: could not bind to address 0.0.0.0:80
Sometime you may experience this error while starting the apache service.
root@server [~]# /etc/init.d/httpd start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Solution :
Kill all the apache proceses and then check if port 80/443 is not used by any other service using netstat command:
root@server [~]# killall -9 httpd
#root@server [~]# netstat -lnp | grep ’80?
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 8117/httpd
If you see any process listing then kill it.
root@server [~]# kill – 9 8117
Now try to restart an apache service.
root@server [~]# /etc/init.d/httpd restart
Black Friday 2025 is here — the biggest shopping moment of the year, where customers expect unbeatable prices, fast performance,…
When you move or delete a page on your WordPress website, visitors — and search engines — can easily hit…
Introduction Artificial Intelligence has made remarkable strides — from writing poetry to generating code. Yet, most AIs still act like…
Introduction Artificial Intelligence has revolutionized the way we create, refine, and scale written content — from blogs and marketing campaigns…
Every Diwali Brings New Light, New Beginnings, and New Opportunities In today’s digital world, your website is the Diya that…