启动服务报:
***************************
APPLICATION FAILED TO START
***************************
Description:
The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.
Action:
Verify the connector's configuration, identify and stop any process that's listening on port 8080, or configure this application to listen on another port.
没有启动过其他服务占用8080端口呀,一脸懵。
另外启动一个服务是报错:Caused by: java.net.BindException: Address already in use: bind 也是这个原因。
解决方案:查找8080端口被谁占用,干掉它。
1、已管理员的身份运行 cmd窗口

2、输入命令: netstat -ano 找到占用端口号8080,对应的PID 为 1608

启动服务时遇到错误-The Tomcat connector未能在8080端口启动,提示可能端口已被占用或配置错误。通过netstat和taskkill命令找出并结束占用8080端口的进程,详细步骤包括:以管理员身份打开CMD,使用netstat和tasklist找到PID,然后用taskkill强制结束进程。此解决方案有效解决了端口冲突问题。
最低0.47元/天 解锁文章
1193

被折叠的 条评论
为什么被折叠?



