【问题标题】:The Tomcat connector configured to listen on port 8081 failed to start. The port may already be in use or the connector may be misconfigured配置为侦听端口 8081 的 Tomcat 连接器无法启动。端口可能已在使用中或连接器可能配置错误
【发布时间】:2020-04-20 09:12:01
【问题描述】:

我可以使用 8081 端口杀死进程 id:4(系统映像)吗?我想在这个 8081 端口上运行 tomcat 吗?过程的详细信息如下图所示。

【问题讨论】:

  • 所以停止使用8081端口的服务,或者使用其他端口。
  • 感谢您的回复,我可以停止使用8081端口的系统服务,如上图所示。您确定 Windows 不会崩溃或遇到问题吗?能否解释一下“系统服务”是什么意思,停止该服务后会有什么影响?

标签: tomcat port windows-10-desktop


【解决方案1】:

PID 4 本身不处理任何流量,而是代表其他进程实现 HTTP 和 HTTPS 多路复用器,允许它们共享传入端口。

netsh http show servicestatus 以查看真正负责的 PID,并在适用的情况下对其进行处理。您还可以使用net stop http 找出可能正在使用它的服务,但这并不能确定当前是哪些服务(是)。对于一些可能性,请参阅:

https://superuser.com/questions/1188629/the-system-process-is-listening-on-port-443-and-i-cant-find-what-service-is
https://superuser.com/questions/43307/why-is-system-process-listening-on-port-80
https://serverfault.com/questions/100452/make-iis6-not-listen-on-one-ip
How do I free my port 80 on localhost Windows?
XAMPP - Port 80 in use by "Unable to open process" with PID 4! 12

【讨论】:

    猜你喜欢
    • 2019-07-10
    • 2017-11-21
    • 2018-12-21
    • 2021-05-28
    • 2018-11-05
    • 2018-05-12
    • 1970-01-01
    • 2019-01-21
    • 1970-01-01
    相关资源
    最近更新 更多