Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache 2.2.8 won't start on Win XP

Status
Not open for further replies.

AndyCame

Vendor
Mar 12, 2008
3
GB
I have installed Apache 2.2.8 on a Windows XP laptop. I have editd the httpd.conf file to set up the listen information;

Listen 10.91.1.34:80
Listen 80

The server started the first time but won't start again. In the application logs I get the error;

The Apache service named reported the following error:
>>> (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 .

I have checked the httpd.conf to ensure that I saved the info and everything looks good. Any ideas what I'm doing wrong.

Andy
 
I checked with a port scanner and nothing is running on port 80. I have changed the httpd.conf file to point at the loopback address (127.0.0.1) but this has made no difference. It looks like to server is unable to read the httpd.conf and tries to start with the default settings that it comes with. Or something is holding the socket open even though the server service is not running. anyone know how to manualy clear sockets on a Win XP device?
 
OK fixed it. Deleted the listen info from the httpd.conf file and the service started straight away. Thanks for the help guys.
Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top