apache非正常终止导致端口被占用解决方法

在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

你可能感兴趣的:(apache,windows,netstat,端口占用)