Could not bind to address error with XAMPP or Apache

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.

Comments

13 Comments on "Could not bind to address error with XAMPP or Apache"

  1. Remon says:

    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.

  2. Prof says:

    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?

  3. tildemark says:

    @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

  4. Peng Zhang says:

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

  5. Stratos Nikolaidis says:

    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! :)

  6. Marco says:

    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.

  7. tildemark says:

    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

  8. Jacob Tony says:

    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

  9. tildemark says:

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

  10. Rajeshkannan MJ says:

    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

  11. Yalcin says:

    Thanks a lot my friend. It works now.

  12. Jeff says:

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


Here's your chance to leave a comment!