windows 查看占用端口
时间:2020-08-04 09:44:09
收藏:0
阅读:89
查找所有运行的端口
netstat -ano
查看占用端口对应的 PID
netstat -aon|findstr "9000"
查看指定 PID 的进程
tasklist|findstr "9088"
结束进程
强制(/F参数)杀死 pid 为 9088 的所有进程包括子进程(/T参数):
taskkill /T /F /PID 9088
原文:https://www.cnblogs.com/songlen/p/13431228.html
评论(0)