[Bug 239890] java/openjdk11: openjdk 11.0.4+11.2 JDBC connections fail with IPv6 addresses
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Apr 2024 06:54:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239890 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. Adding -Djava.net.preferIPv6Addresses=true -Djava.net.preferIPv4Stack=false 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. -- You are receiving this mail because: You are the assignee for the bug.