This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't access web server 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.
My server is on CentOS 6.5.

Thanks in advance.

EDIT:
I fixed it. The firewall rule was correct. It turns out I had to add GATEWAY to /etc/sysconfig/network-scripts/ifcfg-eth0 on my server. For some reason it wasn't seeing it in /etc/sysconfig/network.


This thread was automatically locked due to age.