查看什么程式占用某个端口的方法

1.dos窗口输入:netstat  -ano

2.拿到pid,在dos窗口输入:netstat -aon|findstr "6512"

可以看到端口3306,是mysql.exe在使用

posted @ 2018-05-24 19:39  andy.cl  阅读(112)  评论(0编辑  收藏  举报