First, we can enter the following query command on the dos page to obtain the port number usage you need to query:
netstat -ano | findstr 8080 (PS: port number to be queried)
After that, perform the end command on the port number you are querying is being used:
taskkill / pid 2372 (PS: Queryed process number) / f
In this way, the problem of port occupation can be solved perfectly ~
————————Andrew Feng
2018.9.29