如何终止进程和使用PID的进程无法终止。拒绝访问

时间:2018-10-04 08:02:07

标签: windows tomcat server localhost command-prompt

我使用Windows 10,因此我尝试通过该命令终止端口

netstat -ano | findstr :8006

taskkill /PID 3984 /F

但是我没有杀死这个过程。但这是

ERROR: The process with PID 3984 could not be terminated.
Reason: Access is denied.

2 个答案:

答案 0 :(得分:1)

以管理员身份运行您的cmd。它将起作用。

答案 1 :(得分:0)

您可以转到Internet信息服务(IIS)管理器。单击“站点”,然后在所需的端口上停止网站运行。

相关问题