1、所有端口使用情况
netstat -ano
2、查询xxxx端口pid
netstat -aon|findstr "xxxx"
3、根据端口Pid查详情
tasklist|findstr "pkd"
4、根据进程pid kill 进程
taskkill /pid pid -f
本文共 189 字,大约阅读时间需要 1 分钟。
1、所有端口使用情况
netstat -ano
2、查询xxxx端口pid
netstat -aon|findstr "xxxx"
3、根据端口Pid查详情
tasklist|findstr "pkd"
4、根据进程pid kill 进程
taskkill /pid pid -f
转载于:https://www.cnblogs.com/vitre/p/5549344.html