Abhi
Abhi

Reputation: 21

make_sock: could not bind to address 0.0.0.0:80

One of the suggested solutions is to note the PID running on port 80 (netstat -ano), kill it and start Apache and this has solved problem for many others. But for me Apache itself is running on port 80 and when I start the service I get socket not available error. I tried changing the port to 8080 or other but no luck. Please suggest me where I am going wrong?

Exact Error Msg:

C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exe (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down

Unable to open logs

Upvotes: 0

Views: 3045

Answers (1)

Bruce David Wilner
Bruce David Wilner

Reputation: 467

There is no such address as 0.0.0.0; if you are trying to bind to an Apache port on the local host, use 127.0.0.1, please.

Upvotes: -5

Related Questions