Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Apr 2024 06:54:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 239890] java/openjdk11: openjdk 11.0.4+11.2 JDBC connections fail with IPv6 addresses
Message-ID:  <bug-239890-8522-zY1xm5G0Ps@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239890-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239890-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239890

tom+fbsdbugzilla@nuegia.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tom+fbsdbugzilla@nuegia.net

--- Comment #10 from tom+fbsdbugzilla@nuegia.net ---
I'm not using this software but another java software in Freebsd with
openjdk21. I couldn't bind to network addresses or connect to anything. Add=
ing
-Djava.net.preferIPv6Addresses=3Dtrue -Djava.net.preferIPv4Stack=3Dfalse to=
 the
cmdline fixed the issue. It seems that java.net.preferIPv4Stack defaults to
true for the openjdk21 port too. Your issue is probably related. The same
solution may apply here.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239890-8522-zY1xm5G0Ps>