LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-19-2014, 10:11 AM   #1
Toasterman
Member
 
Registered: Oct 2013
Posts: 77

Rep: Reputation: Disabled
Web interface not loading... apache or firewall?


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.
Apache is also set to Allow All.
I'm on CentOS 6.5.

Thanks in advance.
 
Old 09-19-2014, 11:43 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Have you tried turning off the firewall or SELinux temporarily to see if it starts working?
 
Old 09-19-2014, 12:15 PM   #3
Toasterman
Member
 
Registered: Oct 2013
Posts: 77

Original Poster
Rep: Reputation: Disabled
I did find what went wrong. 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.
Thank you for your suggestion suicidaleggroll but I'm in a production environment so that would be, well... suicide. How ironic
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which distribution for NAT/Firewall linux with web interface ? Mycado Linux - Distributions 1 08-07-2012 04:08 AM
Router web interface not loading xadloki Linux - Networking 7 06-01-2007 03:12 PM
Mandrake Firewall web interface login problem someone_162 Mandriva 2 10-05-2005 06:07 PM
Firewall Web Interface SolidSnake Linux - Security 2 10-04-2004 08:37 AM
free web interface firewall configurator Snake007uk Linux - Security 6 09-24-2002 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration