Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache)
-
I tried to take a snapshot of my Plex server today and it timed out and was unresponsive. A hard reset was necessary. when I powered it back on I noticed that my
httpd
service wasn't running.As you can see the
apachectl configtest
came back OK, so the syntax is correct. I've never run into this error before.I attempted to look this up and a lot of it points to virtual hosts which I'm not using.
-
@wirestyle22 said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):
I tried to take a snapshot of my Plex server today and it timed out and was unresponsive. A hard reset was necessary. when I powered it back on I noticed that my
httpd
service wasn't running.As you can see the
apachectl configtest
came back OK, so the syntax is correct. I've never run into this error before.I attempted to look this up and a lot of it points to virtual hosts which I'm not using.
There is something already bound to port 80. That's why it isn't starting back up.
-
@coliver said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):
@wirestyle22 said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):
I tried to take a snapshot of my Plex server today and it timed out and was unresponsive. A hard reset was necessary. when I powered it back on I noticed that my
httpd
service wasn't running.As you can see the
apachectl configtest
came back OK, so the syntax is correct. I've never run into this error before.I attempted to look this up and a lot of it points to virtual hosts which I'm not using.
There is something already bound to port 80. That's why it isn't starting back up.
Yeah I'm looking for where it's located. Seems to be an issue with my
httpd.conf
binding to port 80 from any ip. I believe i need to specify. -
sudo netstat -tulpn | grep LISTEN
Should get you an idea of what is running on that port.
-
So in my case there was
lighttpd
installed for some reason and it was attempting to bind to the same port which makes sense. I guess just by chance I had never run into this before. Weird -
@wirestyle22 said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):
So in my case there was
lighttpd
installed for some reason and it was attempting to bind to the same port which makes sense. I guess just by chance I had never run into this before. WeirdHave you checked your ssh logs and history to see if someone has logged in and was serving something odd?
-
@coliver said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):
@wirestyle22 said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):
So in my case there was
lighttpd
installed for some reason and it was attempting to bind to the same port which makes sense. I guess just by chance I had never run into this before. WeirdHave you checked your ssh logs and history to see if someone has logged in and was serving something odd?
Yeah, no one has logged in. I must've been testing something and forgot about it.
-
Thanks btw @coliver. Appreciate the help.