Windows 查看端口占用和杀掉进程

180 阅读1分钟

两步方法 :  1 查询端口占用,2 强行杀死进程

$ netstat -aon|findstr "端口号"
$ taskkill /pid "进程号" -t -f

到此 Windows 查看端口占用和杀掉进程介绍完成。