Forum Moderators: phranque

Message Too Old, No Replies

Apache 2.2.6 Installation problem

Unable to bind to adress, no listening sockets available

         

swap

5:04 am on Jan 21, 2008 (gmt 0)

10+ Year Member



I am a mechanical engineer with limited knowledge to software. I need Apache for a project with SQL query writing.

However, I'm unable to install Apache 2.2.6 as Im getting the following error message:

"<OS 10048> Only one usage of each socket address< protocol/network address port> is normally permitted. :make_socket:could not bind to address 0.0.0.0:80 no listening sockets available"

I read one of the posts where a user was facing similar problems and was asked to uncheck the IIS option in Add/Remove Windows Components. I found that in my case it was already uncheked.

Please help. Thank you.

phranque

5:30 am on Jan 21, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], swap!

try:
netstat -an

it should give you some hints...

gergoe

12:51 pm on Jan 21, 2008 (gmt 0)

10+ Year Member



A very popular application is occupying port 80 (which is needed for Apache, as that's the standard HTTP port), and that would be the Skype, which has a setting called "Use port 80 and 443 as alternatives for...", and if that's checked by the time of installing or starting Apache, then Apache will not succeed.

This is just one possibility, you may need to use the

netstat -anb
command as it was mentioned by phranque, that will show you which applications are listening on port 80 (look for 0.0.0.0:80), so you know which application needs to be removed, or its settings to be adjusted.

Jack_Hughes

2:09 pm on Jan 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could be IIS the web server that comes with Windows is running...it would likely default to port 80.