Address already in use: JVM_Bind when Debug starts tomcat in intelj idea

When debugging and restarting the web application, the following error will occasionally be reported: Address already in use: JVM_Bind, a look at the port occupancy

Open the task manager and find that there is no java-related process. Therefore, it is not possible to release the interface occupation by killing the process, which can be solved by the following methods

1. Edit the server configuration, Edit Configuration


2. Click Startup/Connection


3. Select debug, modify the port, then click Apply, click OK

4. Re-debug and run tomcat, it is solved

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325640374&siteId=291194637