[Tfug] web server unreachable

Kyle Scofield KScofield at ecgrp.com
Wed Jan 21 15:24:34 MST 2009


Or it could be a firewall rule on his local box. Just because netstat shows a listening port, doesn't means the outside world can use it.

--Kyle

-----Original Message-----
From: tfug-bounces at tfug.org on behalf of Nate
Sent: Wed 1/21/2009 2:13 PM
To: Tucson Free Unix Group
Subject: Re: [Tfug] web server unreachable
 
Hmm... good call... That is definitely a very good point and a good
additional check.  However looking at the netstat again, we can see that
it's listening on :::80, which should mean it's accepting connections on
port 80 to any interface, ipv4 or ipv6.  At least, that's what I see on
my web servers and they work fine.  My guess is that it's something
upstream from him.

Nate

On 01/21/2009 01:46 PM, Choprboy wrote:
> On Wednesday 21 January 2009 13:02, Nate wrote:
>> I'm sure you've already tried this, but can you get webpages from
>> localhost?
>>
>>> wget localhost
>> If that succeeds, then it's definitely something external to the box.
> 
> Not necessarily.... First a "wget localhost" (or oldschool: telnet 
> localhost:80 -> GET / HTTP/1.0)
> 
> If that succeeds, then check against the external IP address "wget <pub-ip>".
> 
> The localhost interface is usually always listened to and wide open. The 
> external IP may not be listened to (check your httpd.conf for the IPs to 
> listen on), or may be blocked by iptables/firewall.
> 
> 
> Adrian
> 
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org

-- 
Nate
System Admin Manager
System Administration
Ext 220

_______________________________________________
Tucson Free Unix Group - tfug at tfug.org
Subscription Options:
http://www.tfug.org/mailman/listinfo/tfug_tfug.org





More information about the tfug mailing list