Several ports (8005, 8080) required by Tomcatv9.0 Server at localhost are already in use.Tomcat解決方案

爱思60度發表於2024-03-14


'Starting Tomcat v9.0 Server at localhost' has encountered a problem. Port 8080 required by Tomcat v9.0 Server at localhost is 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). 解決方法

查詢佔用埠號8080的命令:netstat -aon|findstr “8080”


然後去工作管理員,把相關的PID關閉即可。

相關文章