Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Server (xampp) doesn't run on Windows 10 (Port 80)

I have installed the Windows 10 Insider Program. Everything works, except Apache. When I try to start it, it says that port 80 is blocked. Is there a way to unblock it or tell Apache to use another port instead?

I was using Windows 7 before. I had trouble with port 80 with skype, but i have disabled it.

like image 867
Aloso Avatar asked Jun 10 '15 14:06

Aloso


People also ask

How do I enable Apache on port 80?

Go to the Control Panel and launch "Windows Firewall" Go to "Advanced Settings" Select "Inbound Rules" in the left pane Select "New Rule" in the right pane In the New Inbound Rule Wizard, select "Port" as Rule Type, then click on "Next" Select "TCP and put "80" (and any other ports you want to open) in "Specific local ...

Why my Apache is not running in XAMPP?

If still this fails, your last hope is to check the apache error log by clicking on the logs tab in apache's row in the xampp control panel and clicking error log. If none of this works, don't give up! You got this! It is also possible to specify port 81 in the url of your localhost, i.e.

Does Apache run on port 80?

During installation, port 80 is required to install the Apache web server.


1 Answers

I had the same problem on windows 10, IIS/10.0 was using port 80

To solve that:

  • find service "W3SVC"
  • disable it, or set it to "manual"

French name is: "Service de publication World Wide Web"

English name is: "World Wide Web Publishing Service"

german name is: "WWW-Publishingdienst" – thanks @fiffy

Polish name is: "Usługa publikowania w sieci WWW" - thanks @KrzysDan

Russian name is "Служба веб-публикаций" – thanks @Kreozot

Italian name is "Servizio Pubblicazione sul Web" – thanks @Claudio-Venturini

Español name is "Servicio de publicación World Wide Web" - thanks @Daniel-Santarriaga

Portuguese (Brazil) name is "Serviço de publicação da World Wide Web" - thanks @thiago-born


Alternatives :

  • Another solution is to shutodwn the service via an admin console with command sc stop W3SVC
  • see community wiki from Tobias Hochgürtel Apache Server (xampp) doesn't run on Windows 10 (Port 80)

Edit 07 oct 2015: For more details, see Matthew Stumphy's answer Apache Server (xampp) doesn't run on Windows 10 (Port 80)

like image 94
paaacman Avatar answered Sep 28 '22 10:09

paaacman