note|vista ultimate apache 端口被占用无法启动解决办法
- May 12th, 2009
- Posted in Notes
- Write comment
重装了 vista ultimate 后连续两天遇到同样的问题
问题:
用xampp 启apache 怎么都起不起来, 一看提示
Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
第一天的情况是因为开了一个叫做 user account control 的服务占用了端口 早control panel->user account 里面关掉以后就好了
今天的情况是因为迅雷。。怎么发现是迅雷的呢
1.用下列命令在 cmd中运行 找出是那个进程占用了 0.0.0.0:80 的端口
netstat -ano
2. 然后用下列的命令列出所有的进程或者在windows task manager里面找。。
tasklist /SVC
找到对应pid的image name,然后关掉那个程序或者服务就搞定了。。。
害我两天浪费了好多时间。。实用的命令还是mark一下
n290
No comments yet.