码迷,mamicode.com
首页 > 其他好文 > 详细

Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80

时间:2015-01-26 19:16:54      阅读:268      评论:0      收藏:0      [点我收藏+]

标签:

ubuntu上安装Apache2时出现错误

Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80  

技术分享

端口被占用造成

在root权限下键入命令:

# netstat -lnp | grep 80

技术分享

从图中可以看出nginx占用了进程

键入命令

#pkill -9 nginx

杀死nginx的所有进程

技术分享

再次启动Apache成功

技术分享

Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80

标签:

原文地址:http://www.cnblogs.com/zhen656/p/4251007.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!