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

后端 未结 10 1846
醉梦人生
醉梦人生 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:47

    You can also run this command to find out which application or service is using the port and then trace it down in Task manager (Provided it's not the Web Deploy Agent Service).

    netstat -o -n -a | findstr 0.0:80

    Then open Task manager, go to Processes, click the "Show processes for all users" checkbox and then click the View menu and Go to the Columns, add the PID column.

    Match the Process ID from the netstat command to the PID in task manager and you will find the service or application that's using the port.

提交回复
热议问题