madusudanan Posted November 8, 2006 Share Posted November 8, 2006 hi allI am unable to run Apache 2.2 web server though I ve installed as per the doumentation provided in the website. when i try to run the Apache server from Command line prompt I get the following error message:C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd(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:80no listening sockets available, shutting downAs I am new to the server applications I do not know what does this error mean? Quote Link to comment Share on other sites More sharing options...
remmargorp Posted November 9, 2006 Share Posted November 9, 2006 Either you have something else already listening on port 80, possibly a firewall? Or you specified the wrong local address for apache to listen on? (Typically in the httpd config you would have it set as "Listen 80" without the quotes, more specifically you could enter "Listen XXX.XXX.XXX.XXX:80" without the quotes to have it listen on port 80 on the specified inerface associated with that IP) Quote Link to comment Share on other sites More sharing options...
alexv305 Posted November 10, 2006 Share Posted November 10, 2006 If you have a listening IP set to the command line remove it and only leave the "80" port on it.My code looks like this:#Listen 12.34.56.78:80Listen 80 Quote Link to comment Share on other sites More sharing options...
cl8onb Posted December 24, 2006 Share Posted December 24, 2006 I have the same issue, same error message, changing listen to "listen 80" still did not help. Still cant make it run... Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted December 24, 2006 Share Posted December 24, 2006 There is a service/other server running on port 80 already and thus Apache is unable to bind to that port when starting up and you get the for mentioned error message.Setup Apache to listen to another port, port 8080 should do, by changing the Listen directive to the following in the httpd.conf:Listen 8080Now save the httpd.conf and restart Apache, open up a browser and go to the following url:http://localhost:8080/Apache should now be working. Quote Link to comment Share on other sites More sharing options...
cl8onb Posted December 24, 2006 Share Posted December 24, 2006 Thank you, for some reason it is now working. I looked at all the port usage and nothing is using port 80, and previously i did try this by setting "listen" to 8088, with no results, now after rebooting several times (probably not necessary, just a habit from MS) it seems to work with http://localhost and not using :8080 to specify the port. Anyway, a lot learned today, so now i can move forward. THANKS. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.