make_sock: could not bind to address 0.0.0.0:80


I am developing a web application and is testing it on my localhost, when suddenly the page failed to load. No error, no message.

So I went to control panel -> Administrative Tools -> Event Viewer -> application and found 2 error entries related to Apache Service:

1.) The Apache service named reported the following error:
>>> no listening sockets available, shutting down

2.) 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.

Now, the only thing new to my setup is that, I am making a skype. I stopped the skype and it's ok. This is already an old problem of mine, wherein the skype is using the same port as my localhost which is port 80.

What to do: Change the default skype port. How?
1.) Goto Tools -> Options
2.) Click Advanced -> Connection
3.) Uncheck "Use port 80 and 443 as alternatives for incoming connections."
4.) In the "Use Port" textbox, enter a port which is unuse by your system, example port 88.

And that solved my problem.

{ 2 comments... read them below or add one }

Anonymous said...

Thanks you saved my day

Anonymous said...

thanks a lot. Useful post!!!