欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Tomcat出现端口占用错误

程序员文章站 2022-04-08 19:20:47
Several ports (8005, 8080, 8009) required by Tomcat v8.5 Server at localhost are already in use. The server may already be running in another process, ......

 

several ports (8005, 8080, 8009) required by tomcat v8.5 server at localhost are already in use.

the server may already be running in another process, or a system process may be using the port.

to start this server you will need to stop the other process or change the port number(s).

最近调项目,发布到tomcat显示错误,

Tomcat出现端口占用错误

这个错误显示端口8005,8080,8009被占用,有两种解决方案:

一、打开项目管理器,找到javaw.exe,点击结束进程,再重启就ok了。

Tomcat出现端口占用错误

二、找到安装tomcat的安装目录

apache-tomcat-8.5.37\conf底下的server.xml配置文件,修改如下端口号:

Tomcat出现端口占用错误

改为8015

Tomcat出现端口占用错误

改为8088

Tomcat出现端口占用错误

改为8019