当前位置:首页 > Windows程序 > 正文

window下查看端口号,并删除对应进程

标签:kill   taskkill   console   查看   tst   查看端口   code   win   window   

  1. netstat -aon
    • 查看所有端口号
  2. netstat -aon|findstr 8080
    • 查看8080端口号
      TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       9788
    //TCP          8080:端口号                                  PID:进程标识码  9788 
  3. tasklist|findstr 9788
    • 查看进程码9788
    node.exe                      9788 Console                    1    425,576 K
  4. TASKKILL /F /PID 9788
    • 删除进程
    成功: 已终止 PID 为 9788 的进程。

window下查看端口号,并删除对应进程

标签:kill   taskkill   console   查看   tst   查看端口   code   win   window   

温馨提示: 本文由杰米博客推荐,转载请保留链接: https://www.jmwww.net/file/14195.html