Port Not Available

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Aug 8 19:26:23 UTC 2006


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060808/2897af1a/signature.pgp


More information about the freebsd-questions mailing list