Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2006 20:25:53 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Gerard Seibert <gerard@seibercom.net>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: Port Not Available
Message-ID:  <44D8E541.1060808@infracaninophile.co.uk>
In-Reply-To: <20060808145644.G2113@scorpio.seibercom.net>
References:  <20060808145644.G2113@scorpio.seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Gerard Seibert wrote:
> I have not been able to get printing working on this PC. By accident. I
> noticed that the ::1 port does not seem to be available. I tried this
> command:
> 
> ~ $ telnet localhost 25
> Trying ::1...
> telnet: connect to address ::1: Connection refused
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 scorpio.seibercom.net ESMTP Postfix (2.4-20060727)
> quit
> 221 2.0.0 Bye
> Connection closed by foreign host.
> 
> As you can see, it says that the connection was refused. Is this normal?
> I thought that ::1 and localhost were always available.
> 

Only if you enable IPv6.  ie. you put:

    ipv6_enable="YES"

into /etc/rc.conf.  That will cause each of your interfaces to have at least
a link-local IPv6 address configured, and lo0 will get the ::1 address applied
to it.  See /etc/rc.d/ip6addrctl /etc/rc.d/network_ipv6 for the gory details.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE2OVG8Mjk52CukIwRCBHaAJ4/mC4YPSrARKzbxuKw2CDwWLNG0wCfYuAX
D+X+/ARevLLm/StG2ioqUAQ=
=joT2
-----END PGP SIGNATURE-----

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