a small problem with /etc/hosts in FreeBSD 6.2

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Wed Sep 12 08:47:18 PDT 2007


> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>


More information about the freebsd-questions mailing list