Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 14:11:52 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        David Israelsson <david@israelsson.org>
Cc:        freebsd-java@freebsd.org
Subject:   Re: RMI on FreeBSD
Message-ID:  <20031120121152.GT11487@starjuice.net>
In-Reply-To: <877k1vb7tt.fsf@poh.gnapp.org>
References:  <87fzgjbdnq.fsf@poh.gnapp.org> <20031120095224.GR11487@starjuice.net> <877k1vb7tt.fsf@poh.gnapp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031120121152.GT11487>