From owner-freebsd-java@FreeBSD.ORG Tue May 23 15:08:21 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 215E416A591 for ; Tue, 23 May 2006 15:08:21 +0000 (UTC) (envelope-from work@ashleymoran.me.uk) Received: from mercureh.reacthosting.com (reacthosting.com [195.177.245.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A541243D46 for ; Tue, 23 May 2006 15:08:20 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from hosta.jigsawfinance.com ([213.106.224.113] helo=alfie.jigsawhq.com) by mercureh.reacthosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FiYUd-0000ra-1A for freebsd-java@freebsd.org; Tue, 23 May 2006 16:08:19 +0100 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-java@freebsd.org Date: Tue, 23 May 2006 16:07:45 +0100 User-Agent: KMail/1.9.1 References: <200605231302.03491.work@ashleymoran.me.uk> <200605231322.46786.work@ashleymoran.me.uk> In-Reply-To: <200605231322.46786.work@ashleymoran.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605231607.45933.work@ashleymoran.me.uk> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mercureh.reacthosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - ashleymoran.me.uk X-Source: X-Source-Args: X-Source-Dir: Subject: 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 15:08:23 -0000 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. Ashley -- "If you do it the stupid way, you will have to do it again" - Gregory Chudnovsky