From owner-freebsd-java@FreeBSD.ORG Thu Nov 20 04:11:56 2003 Return-Path: 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 023C416A4CE for ; Thu, 20 Nov 2003 04:11:56 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4E5A43FAF for ; Thu, 20 Nov 2003 04:11:53 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.24; FreeBSD) id 1AMnf6-000HHA-4n; Thu, 20 Nov 2003 14:11:52 +0200 Date: Thu, 20 Nov 2003 14:11:52 +0200 From: Sheldon Hearn To: David Israelsson Message-ID: <20031120121152.GT11487@starjuice.net> Mail-Followup-To: David Israelsson , freebsd-java@freebsd.org References: <87fzgjbdnq.fsf@poh.gnapp.org> <20031120095224.GR11487@starjuice.net> <877k1vb7tt.fsf@poh.gnapp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877k1vb7tt.fsf@poh.gnapp.org> User-Agent: Mutt/1.5.4i cc: freebsd-java@freebsd.org Subject: Re: RMI on FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 12:11:56 -0000 On (2003/11/20 12:25), David Israelsson wrote: > I've set net.inet6.ip6.v6only to 0, and I've tried to let the program > contact both localhost and 127.0.0.1 (the latter has no ipv6 > equivalent). It does connect, because if I try to run the program > without having started the rmiregistry I get > java.net.ConnectException: Connection refused. What do you expect to happen trying to connect to the local host before a listening service has bound to the appropriate port? I'd expect "Connection refused". My original reply simply answered the question "is RMI broken on FreeBSD", for which the answer is probably "no". I'm now guessing. :-) I'm just answering in the absence of more clueful answers. I haven't played with low-level RMI stuff myself; it's always been managed for me by something else. Ciao, Sheldon.