Date forwarded: Thu, 16 Mar 2000 18:16:20 -0700 (MST)
Date sent: Thu, 16 Mar 2000 20:16:10 -0500
From: "Alexander V. Konstantinou" <[EMAIL PROTECTED]>
To: David Marshall <[EMAIL PROTECTED]>
Copies to: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: RMI Problems
Forwarded by: [EMAIL PROTECTED]
> Sounds like you're exporting an RMI URL with //localhost (127.0.0.1) from
> one machine. If you're constructing the RMI URL by invoking the InetAddress
> getLocalHost() method, that may be returning the loop-back interface
> address. I thought this problem was solved with the latest JDK, but
> you can work around it, by changing the order in which the IP addresses
> are defined in /etc/hosts (move your eth0 name/IP address first).
>
> Alexander
>
THANK YOU!!!
I just changed the order of the entries in the /etc/hosts file so that
the entry for the localhost is the last entry (it had been the first
entry) and now the client on the other machine works (ie no longer
thorws the exception from trying to connect to 127.0.0.1 instead of
192.168.0.2
Thanks again and thanks to everyone who responded to my post.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]