From owner-freebsd-java@FreeBSD.ORG Tue May 23 16:38:57 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BE0E16AB52 for ; Tue, 23 May 2006 16:38:57 +0000 (UTC) (envelope-from ric@jonnycalcutta.com) Received: from home.jonnycalcutta.com (cpc2-ruth2-0-0-cust133.renf.cable.ntl.com [82.11.56.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 398CE43D48 for ; Tue, 23 May 2006 16:38:43 +0000 (GMT) (envelope-from ric@jonnycalcutta.com) Received: from [10.0.0.5] ([10.0.0.5]) (authenticated bits=0) by home.jonnycalcutta.com (8.13.4/8.13.4) with ESMTP id k4NGbvIG083616 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Tue, 23 May 2006 17:38:02 +0100 (BST) (envelope-from ric@jonnycalcutta.com) Message-ID: <44733A87.8020700@jonnycalcutta.com> Date: Tue, 23 May 2006 17:38:31 +0100 From: Richard Cooper User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 CC: freebsd-java@freebsd.org References: <200605231302.03491.work@ashleymoran.me.uk> <200605231322.46786.work@ashleymoran.me.uk> <200605231607.45933.work@ashleymoran.me.uk> In-Reply-To: <200605231607.45933.work@ashleymoran.me.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: IPV6 (Re: Connecting to Jetty) 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 May 2006 16:39:08 -0000 Ashley Moran wrote: > On Tuesday 23 May 2006 13:22, Ashley Moran wrote: >> Just to narrow this down, I've installed it on my 6.1/i386 desktop and it >> works, and another 6.1/amd64 server and it fails, can't bind to 127.0.0.1. >> Is this a bug in the JDK on amd64? >> >> Ashley > > Turns out this was failing because I had compiled IPv6 support. I've passed a > Java option now to use the IPv4 stack and it works. > > I believe this is a known issue? It appears impossible to bind to an (IPv4) > address with the IPv6 stack enabled. Can I ask what variable and exactly how you passed it? I'm having a similar problem with Tomcat and I can't seem to pass the right command to get around the problem. Thanks, Ric