gpt4 book ai didi

python - 端口 8000,PID 4,无法终止,taskill/f/pid 4,拒绝访问

转载 作者:可可西里 更新时间:2023-11-01 09:59:03 28 4
gpt4 key购买 nike

我无法终止绑定(bind)到 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

最佳答案

如果您使用的是 Windows,这可能对您有所帮助,端口 80 通常被此服务使用:“World Wide Web Publishing Service”,在控制面板中打开“服务”并停止它

关于python - 端口 8000,PID 4,无法终止,taskill/f/pid 4,拒绝访问,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25956531/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com