Windows CMD viewing port and processes, kill processes

Reference article
https://blog.csdn.net/eagleuniversityeye/article/details/79985027

  1. View
    netstat -ano | findstr 端口号
  2. View the process
    tasklist | findstr 进程号
  3. Kill the process
    taskkill -PID 进程号 -F

Guess you like

Origin www.cnblogs.com/macht/p/11837151.html