Thursday, July 25, 2019

Check and release the used port

1 Click Start->Run->cmd or press key Win+R to call the command line window.

2 Input command netstat -aon|findstr "8080" and press Enter key to check the PID of the process that using the port. e.g. 2623

3 Input command tasklist|findstr "2623" and press Enter key to check the relative process name. e.g. javaw.exe

4 Input command taskkill /f /t /im javaw.exe and press Enter key to kill the relative process.

No comments:

Post a Comment