解决 windows 环境端口占用

旧巷老猫 提交于 2020-10-24 15:51:54

项目启动遇到异常如下 

***************************
APPLICATION FAILED TO START
***************************

Description:

The Tomcat connector configured to listen on port 8082 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 8082, or configure this application to listen on another port.

端口占用,打开 cmd 输入命令输入

netstat -aon|findstr "8082"

打开任务管理器找到 pid 为 4576 进程,结束该进程即可。

 

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!