AH00072: make_sock: could not bind to address [::]:80
Posted by: greglease (---.hsd1.wa.comcast.net)
Date: June 08, 2012 03:29AM

When I do a netstat -nab it shows that the port is being used to listen by httpd.exe, which is part of Apache I think. The icon stays yellow and the error comes up whenever I try to start Apache. What do I do to fix this?

Options: ReplyQuote
Re: AH00072: make_sock: could not bind to address [::]:80
Posted by: stevenmartin99 (Moderator)
Date: June 08, 2012 03:34AM

disable ipv6

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: AH00072: make_sock: could not bind to address [::]:80
Posted by: greglease (---.hsd1.wa.comcast.net)
Date: June 08, 2012 03:38AM

Where would I find that? Running Win 7 64bit.

Options: ReplyQuote
Re: AH00072: make_sock: could not bind to address [::]:80
Posted by: stevenmartin99 (Moderator)
Date: June 08, 2012 03:47AM

well you could actually try stopping apache even trying to connect on ipv6

left click wamp>apache>httpd.conf


find
listen 80
and change to
listen 0.0.0.0:80
or
listen 127.0.0.1:80

the first one(0.0.0.0) is better if it will work.

then fully restart wamp

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 4 time(s). Last edit at 06/08/2012 03:59AM by stevenmartin99.

Options: ReplyQuote
Re: AH00072: make_sock: could not bind to address [::]:80
Posted by: greglease (---.hsd1.wa.comcast.net)
Date: June 08, 2012 03:52AM

BINGO! Thanks, Steven!

Options: ReplyQuote
Re: AH00072: make_sock: could not bind to address [::]:80
Posted by: sadeqzadeh (---.dhcp.inet.fi)
Date: February 03, 2013 07:29PM

Thanks Steven! I was looking for this and could not find anywhere else.

Options: ReplyQuote
Re: AH00072: make_sock: could not bind to address [::]:80
Posted by: Jared Ubriaco (---.seg164.ucf.edu)
Date: September 05, 2014 12:17AM

You're the bomb just as others said this worked, and I couldn't find the answer anywhere else. Luckily google brought me to this forum.

Ubuntu 14.04 LTS
LAMP
9/4/2014

[Error in console]
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
[/end]

Fix from Steven

find listen 80

and change to

listen 0.0.0.0:80

Options: ReplyQuote


Sorry, only registered users may post in this forum.