[CentOS]Apache error: could not bind to address
I get below error for my server (CentOS 5.7),I have no idea how to fix it,please help.
(98)Address already in use: make_sock: could not bind to address
1 answer
run
# netstat -lnp|grep 80
You will see something like that
Tcp 0 0 192.163.180.68:61027 0.0.0.0:* LISTEN 6289/oproxyd
tcp 0 0 :::80 :::* LISTEN 846/httpd
tcp 0 0 ::ffff:192.163.180.68:7001 :::* LISTEN 32015/java
find out the httpd process id and kill it,run
# kill -9 846
# service httpd restart
Post your answer
(Sign in)



