Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Feb 11, 2009 6:01 pm 
Offline
Senior Newbie

Joined: Wed Aug 06, 2008 3:29 pm
Posts: 12
I totally have no idea how this happened. We're setting up a new linode, following the same instructions I used to set up my first one. We installed apache via yum, (sudo yum -y install httpd php mysql mysql-server php-mysql).

You can't get to it from outside. If I use wget, it gives me the index.html file, but if I try to hit the same url with firefox it says it can't establish a connection.

I've pinged it from outside, and the domain is resolving. It doesn't work even if you type in the IP anyway. I've commented out all of our vhosts and confirmed that the directory root is correct.

Any ideas? Thanks!
~sean


Top
   
 Post subject:
PostPosted: Wed Feb 11, 2009 6:25 pm 
Offline
Senior Member
User avatar

Joined: Fri Jan 02, 2009 11:31 am
Posts: 141
Website: http://faroutscience.com
Location: Texas / Kansas
Try disabling iptables.

I had the same problem with mine. The default settings block everything.

Jeff


Top
   
PostPosted: Wed Feb 11, 2009 7:17 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
seanhess wrote:
You can't get to it from outside. If I use wget, it gives me the index.html file, but if I try to hit the same url with firefox it says it can't establish a connection.


That's a major clue right there...


Top
   
 Post subject:
PostPosted: Wed Feb 11, 2009 11:33 pm 
Offline
Senior Newbie

Joined: Wed Aug 06, 2008 3:29 pm
Posts: 12
Yep, itables was it. Thanks


Top
   
PostPosted: Mon Feb 16, 2009 3:48 pm 
Offline
Newbie

Joined: Mon Feb 16, 2009 12:51 pm
Posts: 3
Website: http://www.alanharper.com
seanhess wrote:
Yep, itables was it. Thanks


I am at the same stage--just got everything running yesterday, but can't get web access running.

Really, one should just turn off the firewall? Isn't that dangerous? Can anyone give me a simple recipe for turning on port 80 access? (I seem to be congenitally unable to understand any of the documentation on iptables!)

Thx


Top
   
 Post subject:
PostPosted: Mon Feb 16, 2009 4:06 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Don't try to talk to iptables directly unless you know what you're doing. There are dozens of easy-to-use front ends to iptables, my favorite being FireHOL. Heck, if you're on Ubuntu, you could even use ufw for a real quick and dirty setup.


Top
   
 Post subject:
PostPosted: Mon Feb 16, 2009 8:53 pm 
Offline
Newbie

Joined: Mon Feb 16, 2009 12:51 pm
Posts: 3
Website: http://www.alanharper.com
hybinet wrote:
Don't try to talk to iptables directly unless you know what you're doing. There are dozens of easy-to-use front ends to iptables, my favorite being FireHOL.


Thanks for the advise. Well I'm a total noob. I did my best to install FireHol from the rpm source, followed the instructions and totally hosed my installation. I had to reinstall from scratch.

I then found a copy of KISS that seemed to work at http://www.nobaloney.net/downloads/kiss ... -and-newer. This seemed to work.

A


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group