首页 > 代码库 > Error 0x80070020 when you try to start a Web site in IIS 7.0

Error 0x80070020 when you try to start a Web site in IIS 7.0

https://support.microsoft.com/en-hk/help/973094/error-0x80070020-when-you-try-to-start-a-web-site-in-iis-7.0

This issue may occur if TCP port 80 and/or 443 is grabbed by a different service.

 

Check this http://support.microsoft.com/kb/890015/en-us

Another process is using port 80 or port 443 on the computer that is running IIS. By default, IIS uses port 80 as the default TCP port and port 443 for Secure Sockets Layer (SSL).

 

这个东西出现的原因是因为端口被占用了,

1.首先确认一下website的bings

技术分享

 

2.在命令行中确认端口是否被占用

技术分享

 

3.如果端口占用的话,就换一个没有被占用的端口

 

排查的结果,因为8081端口被Gitblit占用了

server.shutdownPort = 8081

Error 0x80070020 when you try to start a Web site in IIS 7.0