`
jsntghf
  • 浏览: 2476365 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Windows下如何查看端口被占用

阅读更多

在windows下经常碰到apache启动端口被占用的问题,我们如何查看是哪些程序占用了端口呢?

 

C:\Documents and Settings\admin01>netstat -nao|find "0.0.0.0:80"
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       684
  UDP   0.0.0.0:8000           *:*                                                   2960

 

C:\Documents and Settings\admin01>tasklist /FI "PID eq 2960"

图像名                                                    PID                  会话名                    会话#           内存使用
========================= ====== ================ ======== ============
KuGoo.exe                                            2960               Console                   0                 13,840 K

 

C:\Documents and Settings\admin01>tasklist /FI "PID eq 684"

图像名                                                    PID                   会话名                    会话#          内存使用
========================= ====== ================ ======== ============
Skype.exe                                             684                  Console                   0                 24,044 K

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics