windows close the process corresponding to the port number

netstat -ano | findstr 8889

First find the process number pid corresponding to the port number 8889, assuming it is 1234;

Close the process

taskkill /F /PID 1234

In this way, the use of port 8889 in the background will not conflict;

Guess you like

Origin blog.csdn.net/pshdhx/article/details/108449006