Apache does not start the service in windows 10

Asked

Viewed 48,471 times

16

I’m using XAMPP and since I switched to windows 10 it comes with this, before it didn’t activate apache, then I looked for some tutorials on the internet and found this.

It solved one of the problems, because after I did the steps of this video apache started, but when I enter the localhost only one page is empty. Even trying to access another folder directory htdocs stays the same.

  • you switched the standard gate(80) by which? and how are calling the urls of the systems?

  • 1

    If you are using Skype on your PC it usually conflict with Apache :/

  • According to the answer of Alexandre Borela the problem was changing the door to follow the tutorial.

3 answers

22


I had the same problem with windows 10, what happens is that there is a service probably connected to IIS(express believe) which is also a web server, it comes by default enabled, to solve this without changing the standard port of apache, press Winkey + R and type services.msc look for: Serviço de Publicação da World Wide Web (World Wide Web Publishing Service in English), first stop it then leave the service to be started manually.

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • Do you know why Windows 10 is coming with IIS enabled or stopped in the latest versions? The possibility of viruses taking advantage of this would be very great :/

  • This is the most correct procedure for this case. Microsoft invents too much. Already calling Windows 10 Windows NSA Edition (http://www.rt.com/usa/311304-new-windows-privacy-issues/)

  • Windows 10 does not come with IIS enabled by default. It may be another problem that is starting this service. Who likes to use port 80 is Skype :)

  • 2

    Wow!!! Mto thanks! Finally csegui unlock port 80 for using Apache. What was blocked was the "World Wide Web Publishing Service itself". the/

  • Puts, helped me so much!

8

If you have followed the tutorial and changed the port apache is listening to, then you will need to type: localhost:1234 where 1234 is the new port you have configured.

7

Your problem may be that door 80/443 is already occupied by another process. You can use a utility to confirm who is using these ports, such as Currports.

You can also find out from the command line:

netstat -aon | findstr :80

After discovering the process that is using port 80, check the PID of the process and discovers that he is the culprit with (exchanging the 2160 for the PID):

tasklist /FI "PID eq 2160"

Example:

Comandos


In most cases, the culprit is Skype.

To disable the use of these doors, go to Tools > Options, then in the guide Advanced settings > Connection and finally uncheck the option to use ports 80 and 443

Janela do Skype

  • It’s the first thing I do.

  • Great tip a do tasklist and of netstat

  • the Skype tip solved for min. vlwwww

  • Good @Lipearu. If the answer was helpful you can vote positively. Do a [tour] to understand how Stackoverflow works.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.