FXMAR 发表于 2015-8-5 07:10:22

Windows下Apache启动时候报80端口被占用的解决方法,非IIS占用

今天,准备启动Apache服务调试下程序,突然发现启动不了,报端口被占用,此时IIS服务器明明没有开,
心想,真tmd见鬼了,于是
F:\Documents and Settings\xxx>netstat -aon|findstr "80"
TCP    0.0.0.0:80             0.0.0.0:0            LISTENING       1696
TCP    127.0.0.1:12080      0.0.0.0:0            LISTENING       3164
TCP    192.168.17.179:2392    220.250.64.21:80       CLOSE_WAIT      1696
TCP    192.168.17.179:2396    221.238.25.37:80       CLOSE_WAIT      1696
TCP    192.168.17.179:2400    221.238.25.37:80       CLOSE_WAIT      1696
TCP    192.168.17.179:2406    118.122.36.138:80      CLOSE_WAIT      1696
TCP    192.168.17.179:2492    221.238.25.42:80       CLOSE_WAIT      1696
从上面的信息,可以看出,端口被一个进程号为1696的进程占用了,于是tasklist一把
F:\Documents and Settings\xxx>tasklist
图像名                     PID 会话名         会话#       内存使用
========================= ====== ================ ======== ============
Foxmail.exe               5296 Console               0   22,232 K
TheWorld.exe                3488 Console               0    184,756 K
Thunder5.exe                1696 Console               0   21,908 K
结果发现是迅雷,这鸟玩意,于是把迅雷一关。apache2正常启动。。。
页: [1]
查看完整版本: Windows下Apache启动时候报80端口被占用的解决方法,非IIS占用