我试图为我的应用服务器使用端口80,但当我执行netstat -aon时,我得到:
TCP 0.0.0.0:80 0.0.0.0:0监听4
当我在任务管理器中查找进程时,它显示PID 4是SYSTEM,就是这样。没有扩展…什么都没有。“系统”。这是怎么回事?
我害怕结束这个过程,我该怎么办?
我试图为我的应用服务器使用端口80,但当我执行netstat -aon时,我得到:
TCP 0.0.0.0:80 0.0.0.0:0监听4
当我在任务管理器中查找进程时,它显示PID 4是SYSTEM,就是这样。没有扩展…什么都没有。“系统”。这是怎么回事?
我害怕结束这个过程,我该怎么办?
当前回答
这些对我都没用。我不得不回答一个超级用户的问题。
If it is a System Process—PID 4—you need to disable the HTTP.sys driver which is started on demand by another service, such as Windows Remote Management or Print Spooler on Windows 7 or 2008. There is two ways to disable it but the first one is safer: Go to device manager, select “show hidden devices” from menu/view, go to “Non-Plug and Play Driver”/HTTP, double click it to disable it (or set it to manual, some services depended on it). Reboot and use netstat -nao | find ":80" to check if 80 is still used.
这招对我很管用!
其他回答
这些对我都没用。我不得不回答一个超级用户的问题。
If it is a System Process—PID 4—you need to disable the HTTP.sys driver which is started on demand by another service, such as Windows Remote Management or Print Spooler on Windows 7 or 2008. There is two ways to disable it but the first one is safer: Go to device manager, select “show hidden devices” from menu/view, go to “Non-Plug and Play Driver”/HTTP, double click it to disable it (or set it to manual, some services depended on it). Reboot and use netstat -nao | find ":80" to check if 80 is still used.
这招对我很管用!
即使在“显示来自所有用户的进程”上放置了复选标记,PID=4也不会显示在任务管理器中。只有一个用户。
但是,netstat -b显示指向同一PID=4的多个连接,在此计算机上显示如下所示。
我只选择了那些与TCP协议有关的。
这是在解决IIS的问题时获得的,IIS在尝试了许多其他人之后没有开始。我认为你不应该停止这个过程。
BranchCache是我的问题。我的决心是以管理员的身份运行Powershell,然后运行:
Disable-BC -Force
参考:https://learn.microsoft.com/en-us/powershell/module/branchcache/disable-bc?view=win10-ps
输入netstat -a -n -b -o |more
如果停止万维网出版服务有帮助的话
然后在IIS管理器中查看每个站点的绑定设置,通过选择一个站点并在侧面板上单击绑定。然后如果需要,将端口80更改为其他端口。
听起来好像IIS正在监听HTTP请求的80端口。
尝试通过进入控制面板/管理工具/Internet信息服务停止IIS,右键单击默认网站,然后单击弹出菜单中的停止选项,并查看端口80上的侦听器是否已清除。