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

(98)Address already in use: make_sock: could not bind to address 80 [resolved] (2012-10-11 09:04)

时间:2015-02-10 01:52:34      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:

以前遇到一个问题:

sudo /etc/init.d/apache2 start
 * Starting web server apache2                                                                                                      
apache2: Could not reliably determine the servers fully qualified domain name, using 127.0.0.1 for ServerName (98)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

其实就是80端口被占用的原因,解决办法如下:

sudo fuser -k -n tcp 80

sudo /etc/init.d/apache2 start

 

(98)Address already in use: make_sock: could not bind to address 80 [resolved] (2012-10-11 09:04)

标签:

原文地址:http://www.cnblogs.com/liqiu/p/4282908.html

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