windows 查看端口占用 进程杀死

所有占用端口

  • netstat -ano

查找26381端口占用

  • netstat -ano|findstr 26381

查看pid=19676对应的进程

  • tasklist|findstr 19676

杀死19676

  • taskkill /F /pid 19676

更多taskkill 指令

  • TASKKILL /?
  • 原来想看详细指令简介加上 /? 即可,现在才知道
posted @ 2020-05-28 16:54  VVII  阅读(177)  评论(0)    收藏  举报