Apache connection refused

Created:

2016-11-16 13:24:39 UTC

Modified:

2017-04-24 11:04:09 UTC

3

Was this article helpful?


Have more questions?

Submit a request

Apache connection refused

Applicable to:

  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

I can not connect to my websites though Apache service is running. It appears that httpd is not listening port 80 on the public IP address of the server.

# netstat -plan | grep http
tcp 0 0 127.0.0.1:80 0.0.0.0:* LISTEN 776/httpd

Cause

Only localhost listens port 80.

Resolution

Update httpd.conf file as given below.

# cat /etc/httpd/conf/httpd.conf | grep -i listen
Listen *:80

It will allow httpd service to listen all IP addresses on the server.

Have more questions? Submit a request
Please sign in to leave a comment.