Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 17:47:15 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Pollywog <lists-fbsd@shadypond.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: a small problem with /etc/hosts in FreeBSD 6.2
Message-ID:  <20070912174653.U6653@wojtek.tensor.gdynia.pl>
In-Reply-To: <200709121533.24833.lists-fbsd@shadypond.com>
References:  <200709121533.24833.lists-fbsd@shadypond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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"
>
>



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