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
    Introducing MooTools Templated

    One major problem with creating UI components with the MooTools JavaScript framework is that there isn't a great way of allowing customization of template and ease of node creation. As of today, there are two ways of creating: new Element Madness The first way to create UI-driven...

Incredible Demos

  • By
    CSS calc

    CSS is a complete conundrum; we all appreciate CSS because of its simplicity but always yearn for the language to do just a bit more. CSS has evolved to accommodate placeholders, animations, and even click events. One problem we always thought...

  • By
    Vertically Centering with Flexbox

    Vertically centering sibling child contents is a task we've long needed on the web but has always seemed way more difficult than it should be.  We initially used tables to accomplish the task, then moved on to CSS and JavaScript tricks because table layout was horribly...

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!