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 3D Folding Animation

    Google Plus provides loads of inspiration for front-end developers, especially when it comes to the CSS and JavaScript wonders they create. Last year I duplicated their incredible PhotoStack effect with both MooTools and pure CSS; this time I'm going to duplicate...

  • By
    CSS vs. JS Animation: Which is Faster?

    How is it possible that JavaScript-based animation has secretly always been as fast — or faster — than CSS transitions? And, how is it possible that Adobe and Google consistently release media-rich mobile sites that rival the performance of native apps? This article serves as a point-by-point...

Incredible Demos

  • By
    Create a Clearable TextBox with the Dojo Toolkit

    Usability is a key feature when creating user interfaces;  it's all in the details.  I was recently using my iPhone and it dawned on my how awesome the "x" icon is in its input elements.  No holding the delete key down.  No pressing it a...

  • By
    Geolocation API

    One interesting aspect of web development is geolocation; where is your user viewing your website from? You can base your language locale on that data or show certain products in your store based on the user's location. Let's examine how you can...

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!