参考文章:https://blog.youkuaiyun.com/define_LIN/article/details/84033733
场景描述:
项目以前都是正常启动,今天突然启动不了了,并提示如下错误,由于端口号等已经报给大框架的负责人,修改端口号好像不太合适,怕修改配置文件,再上传又会有什么冲突的问题,我的解决办法是去结束占用这个端口号的进程。
| Description: The Tomcat connector configured to listen on port 8090 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 8090, or configure this application to listen on another port. |
使用Win+R,输入“cmd”进入“命令提示符”,输入命令 netstat -aon|findstr "8090"

在“任务管理器”中找到对应的pid并右键,点击“结束任务”

我的情况是,本地oracle的端口号占用了这个端口号,关闭占用端口号的进程后,再重新启动项目就可以了。

本文介绍了解决Tomcat在启动时遇到端口被占用的问题,通过查找并结束占用8090端口的进程,成功解决了项目无法启动的情况。
856

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



