在运行Tomcat时,有时会遇到端口占用问题,(Several ports (8005, 8080, 8009) required by Tomcat v8.0 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之端口占用问题
1.首先windows+R然后输入cmd;
2.然后输入netstat -ano查看占用你的Tomcat的进程的进程号是多少,我的进程号如下是8356,记住这个进程号;
Tomcat之端口占用问题
3.打开任务管理器在详细信息里面查找进程号为8356的进程进行如下操作
Tomcat之端口占用问题
4.重启Tomcat就完成了。

相关文章:

  • 2022-12-23
  • 2021-09-13
  • 2021-11-05
  • 2022-12-23
  • 2021-11-18
  • 2021-06-08
  • 2021-12-13
  • 2021-07-17
猜你喜欢
  • 2021-07-26
  • 2021-08-24
  • 2021-12-05
  • 2021-08-24
  • 2022-12-23
相关资源
相似解决方案