Apache listens, but doesn't respond [closed]

I have no idea what may be the problem but a useful next step might be to attach to the listening process (and its forks) with strace and have a look at what's going on when you try to connect.

strace -o apache.strace -f -p $PID

Puts the result into the file apache.strace.


In the firewall's INPUT chain, logdrop line kills your connection. It is a catch-all chain for dropping all unwanted traffic. The rule processing never reaches the web rules. You must move the ACCEPT rules above the logdrop rule.


Something is wrong. Apache is listening on IPv6 only. Can you change the Listen parameter in Apache configuration file to

      Listen 0.0.0.0:80 

And then restart Apache. Do netstat again, and make sure the output includes 0.0.0.0:www or something along those lines of IPv4.