From nobody Tue Apr 02 06:54:33 2024 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V7zC30cVQz5GGg2 for ; Tue, 2 Apr 2024 06:54:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V7zC26gHvz4CwM for ; Tue, 2 Apr 2024 06:54:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712040878; a=rsa-sha256; cv=none; b=M+b5UN+QoqxNI4ieSYCHE8tHVcG/1LUgsadp+QNrBG/V2kufzsHJLUUsttRLbKF1JDoSOr 50Wo6pH7anMuyaHWhVcp9aBMXeu26U9AMUYK4Ug/JcFH0/KdG85yGLGlh8kNXHc7eNit5M 4goustexBlj8CjRm0KUT45Dm+QToMj+9rYiRnYVwYtLY80+Y7Dis006ufSLx8MnRI+It4f +bYdntzeoUDEoHX46s1w45qBA1xP5nUh3cUQ8NspWW2m+7i+bRgRK47QviI9e5w6ElrrJ2 cYffHRpQYjgah2Ld66fLLhvdOum2Th0Dqhp+WZT+enOAVvY5nI7H6+AgCSlJVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712040878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gVpDE/x2qKex2ZYlWbeHTjwKvkiAdzpZkKiOcQA5FHA=; b=sR3HJ7QajSCvRfNmL77S5j2qyubBRQFNLsbN8ijifoZ66GL+qjPvX0sx0wdedHQaU60IJd ZAHYlkJsaNqBdNdnqFJvZzOTseMVt0WbdYhVVzIekTBj04Dor7R0CD1D7+clBjuM7fAD7k +2mXjdjD52UOPC40Emt2YrPrU7yHXW9GQry39biUK4i/2Zqu2eOXfB+sRR5wWA/+mFq1AC 6+p8zZwRQ4eg0QPMGnrso+0yVA5Hej1vooOHqdxHKiIvUkQHkzf+r67iGnnhsX1mxbn8qM C3eOrnMVAlRjwU+eligCtVJAjg9hrLHcmlh9GdjsyJyRYinyjUJHZ11qb60dhg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V7zC26DzRzg7D for ; Tue, 2 Apr 2024 06:54:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4326scqN011562 for ; Tue, 2 Apr 2024 06:54:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4326scI2011552 for java@FreeBSD.org; Tue, 2 Apr 2024 06:54:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Tue, 02 Apr 2024 06:54:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tom+fbsdbugzilla@nuegia.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@freebsd.org MIME-Version: 1.0 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.=