1.Windows查看所有的端口 netstat -nao|more
2.查詢指定的端口占用 語法 netstat -aon|findstr "提示的端口", 如 netstat -nao|findstr 10050|more
3.查詢PID對應的進程
在上面步驟之后,我們得到的PID為5220,那么我們就可以輸入命令【tasklist|findstr "5220"】,如下圖
1.Windows查看所有的端口 netstat -nao|more
2.查詢指定的端口占用 語法 netstat -aon|findstr "提示的端口", 如 netstat -nao|findstr 10050|more
3.查詢PID對應的進程
在上面步驟之后,我們得到的PID為5220,那么我們就可以輸入命令【tasklist|findstr "5220"】,如下圖
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。