查看windows下端口运行程序
如有需求查看windows下端口运行程序,可按下列操作。
#在windows命令行窗口下执行:运行--cmd
C:/>netstat -aon|findstr "8080"
TCP 127.0.0.1:80 0.0.0.0:0 LISTENING 2448
#端口被进程号为2448的进程占用,继续执行下面命令:
C:/>tasklist|findstr "2448"
thread.exe 2016 Console 0 16,064 K
参考链接:
https://blog.csdn.net/sutku/article/details/5623183