我无法终止绑定到 8000 端口的进程,因此我无法启动 HTTP 服务器。这是参考问题 Start HTTP/HTTPS server, python -m SimpleHTTPServer
C:\>taskkill /f /pid 4
ERROR: The process with PID 4 could not be terminated.
Reason: Access is denied.
即使在下面杀死也不起作用,我在某处发现了这一点。
C:\>taskkill /f /s localhost /pid 4
ERROR: The process with PID 4 could not be terminated.
Reason: Access Denied.
PID 4 是系统进程,那里可能正在运行什么,我该如何停止它,为什么其他端口也是类似的监听方式。
C:\>netstat -ab
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:135 garg10may-PC:0 LISTENING
RpcSs
[svchost.exe]
TCP 0.0.0.0:443 garg10may-PC:0 LISTENING
[vmware-hostd.exe]
TCP 0.0.0.0:445 garg10may-PC:0 LISTENING
Can not obtain ownership information
TCP 0.0.0.0:902 garg10may-PC:0 LISTENING
[vmware-authd.exe]
TCP 0.0.0.0:912 garg10may-PC:0 LISTENING
[vmware-authd.exe]
TCP 0.0.0.0:8000 garg10may-PC:0 LISTENING
Can not obtain ownership information