Linux transport error 202: bind failed: Address already in use

Let’s start with the conclusion: the remote debug port is occupied. Replace the port configured by your own script, or directly kill the process occupied by the port, and then occupy the port again

Linux server, starting the project, encountered the following problems:

The error log says that the transmission is wrong and the address has been occupied.

Use the losf - I: port number command to view the occupation of ports, as shown in the figure:

Non root users need to add sudo

Use the kill - 9 process number command to kill the process occupying the port, as shown in the figure:

Re run the project and it will start successfully.

Similar Posts: