Can't start site in IIS (use by another process)

后端 未结 10 1842
醉梦人生
醉梦人生 2021-01-30 10:17

When I try to start a site in IIS it says:

the process can\'t access the file because it used by another process

I searched in Goog

10条回答
  •  暖寄归人
    2021-01-30 10:33

    In order to get more meaningful information, one way is to also get ownership information when issuing netstat so that you know the process which is using either 80 (default http binding) or 443 (if https binding is defined):

     netstat -ab
    

    In my case the culprit was vmware:

    TCP 0.0.0.0:443 ComputerName:0 LISTENING
    [vmware-hostd.exe]

    netstat can be piped into find to search for ports 80 or 443 (e.g. find ":443"), but these particular active connection will show at the beginning of the list at they are easy to see.

提交回复
热议问题