Can't access web pages from outside?
Hello, I'm dealing with a strange networking issue. I can't tell if it's Apache or my firewall.
I have a particular server I need to access from outside via web browser. I set up apache to listen on 6571 and I set up port forwarding so when I type domain.com:6571 it should go right to the page. I've done this before without any problems. However, I have a new server that this is not working for. The firewall rule is set up correctly, as I switched the destination to a known good server which worked without any problems. Apache itself is set up to listen on 6571 and I can even access the website internally via that port. This just makes no sense to me.
I'm on CentOS 6.5.
Thanks in advance.
EDIT: I get this when I try to ping websites.
[root@mantis_dev]# ping google.com
connect: Network is unreachable
EDIT2:
I fixed it. It turns out I had to add GATEWAY to /etc/sysconfig/network-scripts/ifcfg-eth0. For some reason it wasn't seeing it in /etc/sysconfig/network.
Last edited by Toasterman; 09-19-2014 at 10:32 AM.
|