读书人

(98)Address already in use: make_so

发布时间: 2013-11-26 22:51:31 作者: rapoo

(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)

读书人网 >软件架构设计

热点推荐