查看端口被占用的命令

netstat -a -n  各个端口占用
netstat -ano   各个端口占用和进程PID
         netstat -aon | findstr "80"
     C:\Users\admin>netstat -aon|findstr "80"
  TCP    127.0.0.1:9080         0.0.0.0:0              LISTENING       4632

2、查看端口号所对应的应用程序
       tasklist | findstr "  4632"
GROOVE.EXE 4632 Console 1 84,880 K
很明显,是GROOVE.EXE 占用了80端口,GROOVE.EXE 一个IE的ACTIVEX控件。

猜你喜欢

转载自cactus-qing.iteye.com/blog/1770714
今日推荐