Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2004 14:17:12 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Network Help
Message-ID:  <409F0248.7040301@meijome.net>
In-Reply-To: <409EFB5F.9030206@attech.net.au>
References:  <409EFB5F.9030206@attech.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeffrey P. Toth wrote:

> Thanks Ion-Mihai,
>
> Well that is the problem. I cannot find any problems other than when I 
> try to open an http: on the box, or on one of the other computers on 
> the network, it fails and has the network error:
>
> Making HTTP connection to www.any-site-on-the-box.com
> Sending HTTP request
> HTTP request sent; waiting for response.
> Alert! Unexpected network read error; connection aborted.
> Can't Access 'http://www.any-site-on-the-box.com'
> Alert! Unable to access document.
>
> I can ping all machines and do a traceroute without problem. The 
> server is online and working I just cannot seem to figure out why I 
> cannot use http on the box and suspect that is the same reason the 
> other computers on the network cannot access any of the sites on the 
> FreeBSD machine without causing a freeze up.
>
OK, so it seems it isn't a basic networking issue, but rather a problem 
talking to your Web server running on your FBsd box. You mentioned some 
kind of firewall. The 'unexpected network error' could be due to a 
firewall, OR to not having any web server running on your box.

1- Is your web server process running?
   Assuming you are using apache from the ports collection, what does
 apachectl status

show you (run in your FreeBSD server) ?

2- If it's a firewall, then you should open incoming TCP traffic to port 
80 (and 443 if you plan to serve HTTPS).
You could post here the contents of (if they exist) to help us help you:
 - /etc/rc.conf
 - /etc/ipf.rules
 - /etc/ipnat.rules
 - if you have a line reading "firewall_type=/path/to/file", please also 
include that file

( of course, feel free  to replace your public IP with something else to 
protect your privacy)

3- you could have tcpwrappers setup , blocking tcp traffic - I don't 
know from the top of my head how to check for this --someone else may 
want to.

4- or..in a strange setup, you may have apache running from your inetd, 
and have either inetd not setup to serve it properly OR actively 
blocking (tcp wrappers again)

> Do I need to add all the websites to the hosts file? Or the static IP 
> of the box, xxx.xxx.xxx.150?

if you have dns setup, u shouldn't need hosts file. Do you have DNS 
setup and working? can you ping your server by name rather than by IP only?

> Just cannot seem to find what affects this problem.

too many things i'd say ;-)

Cheers from Sydney,
--
Norberto Meijome | freebsd at meijome dot net
                              | numard at meijome dot net

"Everything is interesting if you go into it deeply enough." - Richard 
Feynman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?409F0248.7040301>