LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


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

Rep: Reputation: Disabled
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.
 
Old 09-19-2014, 09:20 PM   #2
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
That'll do it...
 
  


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
How to Access Web Pages from /home/user/ Hi_This_is_Dev Linux - Server 2 12-16-2009 07:29 PM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM
I can not access mu sip web pages. Everything else works. dnw Linux - Networking 2 04-28-2002 01:41 AM
restricting http web pages access nabil Linux - General 1 03-03-2002 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10: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