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

 

相关文章:

  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2021-10-16
  • 2022-01-21
  • 2021-05-27
猜你喜欢
  • 2021-05-24
  • 2022-12-23
  • 2021-04-07
  • 2021-06-06
  • 2021-06-24
  • 2021-04-08
  • 2021-10-14
相关资源
相似解决方案