Could not bind to address error with XAMPP or Apache

2007 Dec 6

i kept on forgetting this until i reinstalled xampp. i keep receiving this error, and i am sure IIS was not installed with my windows xp installation.

Installing Apache2.2 as an Service
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
Now we Start Apache2.2 :)
The Apache2.2 service is starting.
The Apache2.2 service could not be started.

A service specific error occurred: 1.

More help is available by typing NET HELPMSG 3547.

Its making me insane @#$^#. And then somebody sent me a message from Skype !!!! There it goes, i remembered, Skype is using port 80, and I dont know why. Closed Skype, runned the installed again and viola! It works.

Tweet this post

13 Comments

Thanks, got the same problem, already looked at several other solutions but they didn't work. This one did! Saved me a lot of time here!

Seems strange that this happends on a reinstall though. Thought Skype would already have picked another port or at least that Apache would keep on claiming the same port after the reinstall.

Hey so I have the same issue and skype is def interferring but previously i was able to use skype + xampp simultaneosly, so wtf? why only now when i re-install windows? its odd because when i re-installed everything they both worked fine until last night my pc randomly rebooted during gaming and xampp stopped working from then... Is there a way to re-assign skype to a different port?

@Prof to reassign another port for skype, follow this:

* on skype tools, click options
* then go to connection tab
* type your desired port and
* uncheck use port 80 checkbox

Thanks for the post. The tips fixed the problem for me.

Unbelievable! Skype??? And the fun part of the story is that I load Skype manually, so I douldn't do the combination!

Thanx!! :)

Greetings from Thessaloniki, Greece! :)

I love you. I had not connected the two but as soon as I closed Skype Apache was able to launch. I should have thought of Port 80.

Now the question is: how do I use Skype and Apache at the same time? I actually do need to have both working when I do online training sessions.

You could run Apache first then run Skype after or
You could also edit Skype's settings found at

Tools -> Options -> Advanced -> Connection
Uncheck the 'Use Port 80 and 443 as alternatives for incoming connections' then
Click Save

I get this error message each time i start apache service

"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"

Pls how do i resolve this

0.0.0.0 is your default network. assign apache to to your loopback address instead 127.0.0.1 or you localhost

Thank you so much, i shutdown skype and apache started.

i was scared whether the system has been compromised.

I dont know why skype needs port 80. hmm

Thanks.

Thanks a lot my friend. It works now.

My culprit was SQL server 2008. I shut down all of its services and Apache miraculously worked. Funny, you would think it would sabotage MySQL and not Apache. :)

Leave a comment


About Me


Alfredo Sanchez is an internet professional focusing on the study search engines behavior in particular. Supports Free Open Source Software and currently develops applications with it using XAMPP.

Recent Entries

Close