win7查看端口占用

1.查看谁占用了我们的80端口,在windows命令行窗口下执行:
 
  1. netstat -aon|findstr 80 

发现80端口被进程号为2596的进程占用。
2.查看占用80端口进程的应用程序是什么:
  1. tasklist|findstr "2596" 
原文地址:https://www.cnblogs.com/siashan/p/4200747.html