We are facing one weird problem on one of our RHEL apache server.
Actually, it is not listening on port 80 from remote hosts. When we locally browse
http://localhost it is opening default page. When we checked listening port through
netstat, we found that only
tcp6 interface was listening at
And there was no entry for
tcp, and that entry should be present there like
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
I have tried searching many forums for this issue, but none of the solution suggested worked. In
httpd.conf, we change
Listen 80 to
but it did not open 80 port to access from remote hosts. IPtables is disabled from the beginning.
How can we set the server to listen on IPv4?