problem when allocating port with openjdk6
Christos Zoulas
christos at zoulas.com
Mon Dec 6 08:35:10 PST 2010
On Dec 6, 8:26am, glewis at eyesbeyond.com (Greg Lewis) wrote:
-- Subject: Re: problem when allocating port with openjdk6
| Try adding '-Djava.net.preferIPv4Stack=true' to the args that are passed
| to the JVM on start up.
Yes, java seems to prefer to use IPv6 mapped addresses for IPv4. But this
does not explain why:
sysctl -w net.inet6.ip6.v6only=0
does not work.
Not that I am suggesting to change the sysctl, because of the security
implications. On the other hand, what's the longer term plan for this?
Should we default the preferIPv4Stack to true for the BSD builds?
christos
More information about the bsd-port-dev
mailing list