日期:2014-05-16  浏览次数:20810 次

windows中有用的查找端口占用的命令
在windows中可以使用如下命令,查看端口昌被哪个程序占用。

C:\Users\ho>netstat -aon | findstr "8080"
  TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       7528
  TCP    [::]:8080              [::]:0                 LISTENING       7528

C:\Users\ho>tasklist | findstr "7528"
java.exe                      7528 Console                    1    205,960 K