ITeye博客

windows中有用的查找端口占用的命令

chainhou · 2013-07-19 15:43 · 常见问题 · 操作系统 · Markdown

在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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。