XAMPP (1.8.1) on Windows 8 – Apache not starting as Port 80 “in use by system”

I have recently upgraded to Windows 8 and installed XAMPP 1.8.1. On trying to start Apache using XAMPP Controller, I kept getting an error message saying that Apache could not be started because port 80 (the default port for Apache) was “in use by system”.

After a bit of searching around, one common solution, and the one that worked for me, was to turn off the “World Wide Web Publishing Service”, as follows:

  • Go to Control Panel > Administrative Tools > Services
  • Findย “World Wide Web Publishing Service”
  • Right click and select “Stop”
  • Right click and select “Properties”, then change “Startup type” to “Manual”

If this doesn’t fix it, you can find out what is using port 80 as follows:

  • In a Command Prompt, run ‘netstat -ao > netstat.txt’ to write active connections and associated process IDs (PID) to a file (for me, there were too many to just view them in the command prompt)
  • Find the PID that is listening on port 80 (0.0.0.0:80) – for me, the PID was 4, which seems quite common
  • Open Task Manager (Ctrl + Shift + Esc), right click on the column headers, and then click PID to show the PID column. Sort by PID to find the process for the PID that you identified above.

Once you know the process that is causing the problem, a bit of Googling (other search providers are available) should help you fix it.

26 Replies to “XAMPP (1.8.1) on Windows 8 – Apache not starting as Port 80 “in use by system””

  1. thanks i stopped world wide web p…… Now click the apache service start button now its working.
    thanks guys.

  2. thank you so much!!! it really works.. . after letting the world wide web stoped. the apache in my xampp did worked ๐Ÿ™‚
    i owe you mr. johnm ๐Ÿ˜‰

  3. Thank u so much . . .this problem has been nabbing me for quite a long time. . . .
    Now i am happy !!!
    Thanks a looot man !!

    1. Hi Sahel, I can’t help I’m afraid. In my experience, it has only been the โ€œWorld Wide Web Publishing Serviceโ€ that causes a problem, but there may be another service that is interfering. Good luck! Jon

  4. its not working. I am not seeing WORLD WIDE WEB PUBLISHING SERVICE. is there anyway???

    port 80 of my system is in use of SYSTEM.

  5. The mysterious depths of Windows 8! If your Apache web server won’t start when it is set to listen on port 80 it is because IIS (Internet Information Server) is already using that port by default. However, IIS isn’t mentioned in Windows 8 services because now it’s called World Wide Web Publishing Service. If you click on Services in Apache Service Monitor you will bring up the list of Windows services referenced above (up there it says find Administrative Tools – but – guess what – that is hard to find in the new layout of Control Panel under Windows 8 ….

    Anyway, thanks for the tip. It worked for me too and I can dispense with finding localhost using localhost:8080, which was a chore…

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.