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
    Designing for Simplicity

    Before we get started, it's worth me spending a brief moment introducing myself to you. My name is Mark (or @integralist if Twitter happens to be your communication tool of choice) and I currently work for BBC News in London England as a principal engineer/tech...

  • By
    5 Ways that CSS and JavaScript Interact That You May Not Know About

    CSS and JavaScript:  the lines seemingly get blurred by each browser release.  They have always done a very different job but in the end they are both front-end technologies so they need do need to work closely.  We have our .js files and our .css, but...

Incredible Demos

  • By
    DWRequest: MooTools 1.2 AJAX Listener & Message Display

    Though MooTools 1.2 is in its second beta stage, its basic syntax and theory changes have been hashed out. The JavaScript library continues to improve and become more flexible. Fellow DZone Zone Leader Boyan Kostadinov wrote a very useful article detailing how you can add a...

  • By
    Link Nudging with CSS3 Animations

    One of the more popular and simple effects I've featured on this blog over the past year has been linking nudging.  I've created this effect with three flavors of JavaScript:  MooTools, jQuery, and even the Dojo Toolkit.  Luckily CSS3 (almost) allows us to ditch...

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!