RMI registry and bind objects IP

Adnan Memon <[email protected]> Tue, 19 Feb 2008 10:54:29 -0700
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
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?

-
Adnan Memon


===========================================================================
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