How to check who is occupied by a port

1. View the PID corresponding to the occupied port

  netstat -aon|findstr "49157"

2. Check which process or program occupies pid 2720

  tasklist|findstr "2720"

3. End the process

  taskkill /f /t /im Tencentdl.exe

  taskkill /pid 2720

  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324586708&siteId=291194637