Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Tomcat port 8080 is occupied

Shulou Source: shulou.com Published: 2022-06-02 19:17:53 09月28日 Update

2 solutions:

1. Close the process occupying port 8080: If port 8080 is occupied, execute startup.bat to report an error. You can execute netstat-ano command under cmd to check whether 8080 is occupied. If it is occupied, you can find and close the corresponding process in Task Manager according to the corresponding PID number, and then restart tomcat. The disadvantage of this method is that the port is occupied and the above operation has to be repeated.

2. Change tomcat port: Enter tomcat installation directory\conf folder, open service.xml with Notepad, specify new port number as shown below and restart tomcat.

This article is reproduced from: blog.csdn.net/sevenous/article/details/79101516

Tags: Port process task location slogan available in command malpractice file folder method this method directory notepad meeting report management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Technology Docker Microsoft NVidia