windows 8 NT Kernel and System using port 80

自古美人都是妖i 提交于 2019-11-30 04:32:40

I ran into this problem after installing just Apache 2.2.22 on Windows 8. What I'm strongly convinced of after scouring many forums for information is that the most common cause of this issue on Windows, which produces the "make_sock could not bind to address 0.0.0.0:80" error, is that IIS is running. Stopping the World Wide Web Publishing Service is what finally enabled Apache to start for me as well.

I ran into the same problem with NT Kernel listening on port 80 when I wanted to get my own application listening on that port.

After stopping

  • IIS
  • World Wide Web Publishing service
  • IIS Admin Service
  • SQL Server Reporting services

the NT Kernel was still listening on port 80

It was finally when I stopped the "Web Deployment Agent Service" that it stopped listening on 80.

Note: use netstat -bano in an elevated command prompt to see what apps are listening on which ports.

a whole bunch of services might have grabbed port 80:

http://lordamit.blogspot.de/2012/06/windows-7-windows-8-apache-errorport-80.html

it's hard to say which one caused your system to do it, i had to disable the "World Wide Web Publishing Service".

In addition to World Wide Publishing, I had to stop the Web Deployment Agent Service, which kicked off the HTTP Service.

stopping the w3svc service worked for me - just write in an elevated command prompt (VS2017 command prompt started as administrator):

sc stop w3svc
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!