httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Houston <...@openstrike.co.uk>
Subject Re: [users@httpd] Apache not responding to external requests
Date Fri, 19 Apr 2013 15:58:05 GMT
On Fri, Apr 19, 2013 at 08:44:48AM -0500, Neil Aggarwal wrote:
> This is strange.  I did a fresh install of CentOS 6.4 on a virtual
> server and then did a yum install httpd.
> 
> The apache server responds to local requests but not requests
> over eth0.  I checked the Listen directive in httpd.conf and
> it is not restricted.

1. As it's a fresh install, check your firewall configuration. If you
haven't specifically modified it you will have the default CentOS
configuration which won't allow inbound to eth0:80.

2. If the firewall is OK, check whether apache is actually bound to
the eth0 address or not. If not, fix that - see the apache error log
at startup for reasons why the bind might fail (eg. you accidentally
installed squid or something else which grabbed it, maybe?).

If apache is bound to the right ip+port and the firewall allows the
traffic, then check the apache error log and the system error logs for
traces of your request and debug from there. If there is no evidence of
your request arriving at the server, try a packet sniffer to see what's
happening.

> Did something change in the default configuration of httpd
> to stop it from listening on eth0?  

Not that I'm aware of.

Good luck,

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

Mime
View raw message