Categories: Hostripples Featured

Address already in use: make_sock: could not bind to address 0.0.0.0:80

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


HR-ADMIN

Recent Posts

How to Design a Website for Black Friday 2025 (Complete Guide)

Black Friday 2025 is here — the biggest shopping moment of the year, where customers expect unbeatable prices, fast performance,…

1 day ago

301 Redirects for WordPress: What, Why & How (SEO Best Practices)

When you move or delete a page on your WordPress website, visitors — and search engines — can easily hit…

4 days ago

Meet Perplexity: AI That Thinks Like a Researcher

Introduction Artificial Intelligence has made remarkable strides — from writing poetry to generating code. Yet, most AIs still act like…

2 weeks ago

Top 15 AI Text Writers in 2025 — Features, Uses, Pros & Cons Explained

Introduction Artificial Intelligence has revolutionized the way we create, refine, and scale written content — from blogs and marketing campaigns…

2 weeks ago

This Diwali, Give Your Website the Glow It Deserves — Host Smarter,Rank Higher

Every Diwali Brings New Light, New Beginnings, and New Opportunities In today’s digital world, your website is the Diya that…

1 month ago