如何查看某个端口被谁占用

1. 查看端口占用情况。

netstat -ano

netstat -aon|findstr "49157"  精确查找

 

2. 查看PID对应任务

tasklist|findstr "2720" // 2720为PID

posted @ 2016-07-21 08:37  探讨  阅读(74)  评论(0)    收藏  举报