I was puzzled why Apache 2.2 returned the following error upon installation: Installing the Apache2.2 service The Apache2.2 service is successfully installed. Testing httpd.conf.... Errors reported here must be corrected before the service can be started. (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
You can check if the port is indeed in use by opening a command prompt and typing: netstat -na
If you can find a row containing port 80, then it is in use. For instance: Proto Local Address Foreign Address State TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
If you're having difficulties discovering which application is using the port, run the command prompt as administrator and enter the following command, which will report the executable file that is responsible: netstat -nab
In my case, it turned out to be Skype. Check that your Skype settings aren't blocking the port and close Skype. Restart the Apache service and everything should be working.
 Skype may be the source of your Apache problems; you might want to consider unchecking this option |