From owner-freebsd-questions@FreeBSD.ORG Wed Mar 15 20:14:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9A8E16A401 for ; Wed, 15 Mar 2006 20:14:47 +0000 (UTC) (envelope-from freebsd@redry.net) Received: from luke.segpub.com.au (luke.segpub.com.au [64.49.254.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A5E243D45 for ; Wed, 15 Mar 2006 20:14:47 +0000 (GMT) (envelope-from freebsd@redry.net) Received: (qmail 8973 invoked by uid 89); 16 Mar 2006 07:14:46 +1100 Received: by simscan 1.1.0 ppid: 8778, pid: 8936, t: 1.6135s scanners: clamav: 0.87/m:34/d:1169 spam: 3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on luke.segpub.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from unknown (HELO ?192.168.1.35?) (eoghan@redry.net@194.125.78.88) by 0 with SMTP; 16 Mar 2006 07:14:45 +1100 Message-ID: <441875AE.9070601@redry.net> Date: Wed, 15 Mar 2006 20:14:38 +0000 From: eoghan User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Derek Ragona References: <44186E94.2040901@redry.net> <6.0.0.22.2.20060315134908.028296a8@mail.computinginnovations.com> <44187189.300@redry.net> <6.0.0.22.2.20060315135915.0284c350@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20060315135915.0284c350@mail.computinginnovations.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Steve Bertrand , freebsd-questions@freebsd.org Subject: Re: hosts file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2006 20:14:47 -0000 Derek Ragona wrote: > Sorry, my mistake. Check: > /etc/nsswitch.conf > > You should the line: > hosts: files dns > > With the files listed first > > -Derek Hi yes that is in my nsswitch.conf: hosts: files dns any other ideas? > At 01:56 PM 3/15/2006, eoghan wrote: >> Derek Ragona wrote: >>> Check your resolv.conf, should have files first. >>> -Derek >> >> resolve.conf reads >> nameserver 192.168.1.1 >> >> >>> At 01:44 PM 3/15/2006, eoghan wrote: >>>> Steve Bertrand wrote: >>>>>> Yes, mine reads: >>>>>> ::1 localhost nathaniel >>>>>> 127.0.0.1 localhost nathaniel >>>>>> Upon starting apache, i can only get to it by using the ip. >>>>>> 127.0.0.1 wont work either. I just get the unable to connect >>>>>> message from the browser. Any ideas? >>>>> Under the Listen directive in your httpd.conf file, are you binding >>>>> Apache to a single IP? >>>>> Mine reads: >>>>> Listen 80 >>>>> Which means listen on port 80 on all IP's. If you have an entry as >>>>> such: >>>>> Listen 123.456.789.111:80 >>>>> It will listen on port 80 on ONLY that IP, and ignore all other >>>>> requests, including localhost/127.0.0.1. >>>>> Regards, >>>>> Steve >>>> >>>> Hi >>>> Yep, its: >>>> Listen 80 >>>> and >>>> ServerName localhost >>>> Where do i get the text from the boot? Im getting some weird Network >>>> is unreachable messages in here that may have something to do with it? >>>> Eoghan