From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 15:47:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C836C16A417 for ; Wed, 12 Sep 2007 15:47:18 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 10FD513C46A for ; Wed, 12 Sep 2007 15:47:17 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id l8CFlFfx006665; Wed, 12 Sep 2007 17:47:15 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id l8CFlFk1006662; Wed, 12 Sep 2007 17:47:15 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 12 Sep 2007 17:47:15 +0200 (CEST) From: Wojciech Puchar To: Pollywog In-Reply-To: <200709121533.24833.lists-fbsd@shadypond.com> Message-ID: <20070912174653.U6653@wojtek.tensor.gdynia.pl> References: <200709121533.24833.lists-fbsd@shadypond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: a small problem with /etc/hosts in FreeBSD 6.2 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, 12 Sep 2007 15:47:18 -0000 > in my hosts file, I have a line that looks like this: > > ::1 localhost localhost.mydomain.com > > > Is this line for IPv6 or is there some other reason for its presence? It > causes occasional problems, so I commented it out and I kept a similar line > that points to 127.0.0.1 there should be 2 lines ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain > > An example of the problems it sometimes causes is that if I telnet to > localhost at port 25 I get this: > > Trying ::1... > telnet: connect to address ::1: Connection refused > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >