Spring Boot application in eclipse, the Tomcat connector configured to listen on port XXXX failed to start

前端 未结 17 1564
不知归路
不知归路 2021-01-30 02:12

I\'m developing a REST API using Spring Framework.

First I wasn\'t able to run my application because of the same problem. The port 8080 on my computer is busy. Then I

17条回答
  •  醉酒成梦
    2021-01-30 02:58

    1. Find the process ID (PID) for the port (e.g.: 8080)

      On Windows:

      netstat -ao | find "8080"
      

      Other Platforms other than windows :

      lsof -i:8080
      
    2. Kill the process ID you found (e.g.: 20712)

      On Windows:

      Taskkill /PID  20712 /F
      

      Other Platforms other than windows :

      kill -9 20712   or kill 20712
      

提交回复
热议问题