Re: RMI registry and bind objects IP

Peter Jones <[email protected]> Wed, 20 Feb 2008 00:30:35 -0500
Newsgroups gmane.comp.java.sun.rmi
Message-ID <20080220053035.GB140@east>
On Tue, Feb 19, 2008 at 10:54:29AM -0700, Adnan Memon wrote:
> I have multi-homed machine and want to export the objects and run registry 
> on one of the local IPs ... I don't see anyway of doing it. The JVM 
> property java.rmi.server.hostname only allows the client to connect to the 
> given IP but telnet still tells me registry is listening to 0.0.0.0 and 
> objects are also exported on 0.0.0.0 which means any/all local IPs.
>
> What I am struggling with is ... running two registries on single machine 
> on same port but different local IP addresses ... any way to do that in 
> RMI?

See:

    http://archives.java.sun.com/cgi-bin/wa?A2=ind0306&L=RMI-USERS&P=1805

-- Peter

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html