From owner-freebsd-java@FreeBSD.ORG Tue Mar 23 20:04:41 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2BFB106564A for ; Tue, 23 Mar 2010 20:04:41 +0000 (UTC) (envelope-from wilhelm.greiner@erwo.net) Received: from erwo.net (erwo.net [89.149.208.182]) by mx1.freebsd.org (Postfix) with ESMTP id 66CF78FC19 for ; Tue, 23 Mar 2010 20:04:41 +0000 (UTC) Received: by erwo.net (Postfix, from userid 1000) id BCB22DA912; Tue, 23 Mar 2010 20:49:13 +0100 (CET) Received: from [10.45.82.69] (dslc-082-082-115-188.pools.arcor-ip.net [82.82.115.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: erwo) by erwo.net (Postfix) with ESMTPSA id 81273DA910 for ; Tue, 23 Mar 2010 20:49:13 +0100 (CET) Message-ID: <4BA91B36.8020101@erwo.net> Date: Tue, 23 Mar 2010 20:49:10 +0100 From: Wilhelm Greiner User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: jdk-1.6.0.3p4_12 Problem (Socket Thing) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 20:04:41 -0000 Hi, i have a Problem with the Port "jdk-1.6.0.3p4_12" on FreeBSD "8.0-RELEASE #0". An Application dies with the Error "java.net.BindException: Can't assign requested address". In the lack of compatibility i cant use diablo JRE or Open Java Runtime (the gpled Thing). On my Test Box i disabled ipv6 in rc.conf, also i used the Java Parameter "-Djava.net.preferIPv4Stack=true". Also i read about problems with the loopback interface, the command "ifconfig lo0" says: lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 Think the settings should be ok, can anyone help please to find the problem? I dont have the sources of the applikation. Wilhelm