系统相关
首页 > 系统相关> > windows本地启动tomcat端口占用

windows本地启动tomcat端口占用

作者:互联网

windows本地启动tomcat端口占用

报错信息:

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

解决办法:

  1. 搜索 命令提示符(cmd), 然后以管理员权限运行, 防止有的进程无权限杀死

在这里插入图片描述

  1. 执行以下命令
netstat -aon|findstr 8080

在这里插入图片描述

  1. 停止正在使用的端口,执行以下命令
taskkill /f /t /im 8316
taskkill /f /t /im 12264

在这里插入图片描述

标签:tomcat,windows,端口,connector,may,im,taskkill,port
来源: https://blog.csdn.net/pengpenhhh/article/details/114597552