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

前端 未结 17 1484
不知归路
不知归路 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 03:08

    On Windows:

    To get started, open the command prompt by clicking on Start and then typing cmd. In the command window, go ahead and type in the following command:

    netstat -a -n -o

    In the command above, the -o parameter is what will add the PID to the end of the table. Press enter and you should see something like this:

    Now to see the name of the process that is using that port, go to Task Manager by pressing CTRL + SHIFT + ESC and then click on the Process tab. In Windows 10, you should click on the Details tab.

    By default, the task manager does not display the process ID, so you have to click on View and then Select Columns.

    You might also need to look into services running in background. To do that right-click and select open services as shown below:

    Hope it helps :)

提交回复
热议问题