首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

(98)Address already in use: make_sock: could not bind to address [:]:80

2013-11-26 
(98)Address already in use: make_sock: could not bind to address [::]:80Description:./apachectl sta

(98)Address already in use: make_sock: could not bind to address [::]:80

Description:

./apachectl start
(98)Address already in use: make_sock: could not bind to address [::]:80
(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

Cause:
This problem is caused by another service listening to TCP/IP port 80.

Solution:
1.? $ sudo fuser -k -n tcp 80

2.? Change the listen port in the httpd config file to 81, by doing this we want to see which service is using port 80.

??? netstat -tlnp | grep 80

3.? Third solution is to change binging address in your httpd.conf? like this:
Listen 127.0.0.1:80 ( that means:? instead of? Listen 0.0.0.0:80)

热点排行