The XAMPP, Apache, and Skype Issue

By  on  

As your probably already know, you can run an Apache server right off of a USB drive using XAMPP. It's a great ability to have because you can take a website anywhere with you. I can work on the same site off of the USB drive from home, at my girlfriend's place, on my laptop in front of the TV, at work....you get the point.

Recent I tried to start Apache from the UBS drive and got the following rubbish message:

Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
(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

Apache konnte nicht gestartet werden
Apache could not be started
Press any key to continue . . .

I found that the problem was cause by Skype, because Skype listens on port 80. Long story short: close Skype before trying to start Apache. I had to search for quite a while to find this so hopefully this saves someone time.

Recent Features

  • By
    CSS @supports

    Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS.  What we end up doing is repeating the same properties multiple times with each browser prefix.  Yuck.  Another thing we...

  • By
    Chris Coyier’s Favorite CodePen Demos

    David asked me if I'd be up for a guest post picking out some of my favorite Pens from CodePen. A daunting task! There are so many! I managed to pick a few though that have blown me away over the past few months. If you...

Incredible Demos

  • By
    GitHub-Style Sliding Links

    GitHub seems to change a lot but not really change at all, if that makes any sense; the updates come often but are always fairly small. I spotted one of the most recent updates on the pull request page. Links to long branch...

  • By
    Translate Content with the Google Translate API and JavaScript

    Note:  For this tutorial, I'm using version1 of the Google Translate API.  A newer REST-based version is available. In an ideal world, all websites would have a feature that allowed the user to translate a website into their native language (or even more ideally, translation would be...

Discussion

  1. SiteX

    Same with WAMP.
    At least WAMP tells you that the problem may hide in Skype.

  2. Dejan

    Well, i think that the problem lies in MySQL port (3306)

  3. @Dejan: MySQL starts fine, Apache does not.

  4. Yep this is a problem I have ran into in the past. I think I just changed Skype from listening to port 80:
    http://forum.skype.com/lofiversion/index.php/t31024.html

  5. @Eric: Awesome tip and thanks for the link.

  6. I always set XAMPP and/or WAMP to use port 8080 for stuff I’m working on.

  7. I though about changing the default HTTP port in httpd.conf, maybe it’d help?
    I didn’t yet face this problem though, but shouldn’t changing the default http listen port help?

  8. PFonseca

    Same stuff here with XAMPP. Love it in my WD Portable Disk, and some other portable apps. Thanks for the heads up in skype.

  9. yes i found this problem too.. i preferred change port on skype and not apache

  10. carla

    Thanks!!! 5 hours looking for a solotion! hehe.
    Hugs from Argentina

  11. I Have Never Install Skype On My Desk But My Apache In Xampp Still Not Start.

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!