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
    Responsive and Infinitely Scalable JS Animations

    Back in late 2012 it was not easy to find open source projects using requestAnimationFrame() - this is the hook that allows Javascript code to synchronize with a web browser's native paint loop. Animations using this method can run at 60 fps and deliver fantastic...

  • By
    Welcome to My New Office

    My first professional web development was at a small print shop where I sat in a windowless cubical all day. I suffered that boxed in environment for almost five years before I was able to find a remote job where I worked from home. The first...

Incredible Demos

  • By
    Web Notifications API

    Every UI framework has the same set of widgets which have become almost essential to modern sites: modals, tooltips, button varieties, and notifications.  One problem I find is each site having their own widget colors, styles, and more -- users don't get a consistent experience.  Apparently the...

  • By
    Create a 3D Animating Sidebar

    Mozilla's Christian Heilmann is an evangelist that knows how to walk the walk as well as talk the talk.  You'll often see him creating sweet demos on his blog or the awesome Mozilla Hacks blog.  One of my favorite pieces...

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!