Subject: Re: port-i386/37533: Client can not connect to any address with ipv6 address
To: None <>
From: Arnaud Degroote <>
List: netbsd-bugs
Date: 12/13/2007 21:07:28
The quick solution is to to unset the sysctl net.inet6.ip6.v6only using
sysctl -w net.inet6.ip6.v6only=0

Note that this behaviour is not enabled because it has security impact
(see for example

I think the best thing to do is probably to use a AF_INET6 socket to
connect to your AF_INET6 server. 

Another note on your code, you may use IN6ADDR_ANY_INIT or in6addr_any
(depending the context) to let your server binding on any available

I hope it will help.

Arnaud Degroote