Multi ip address problem,please help me
843793Dec 13 2004 — edited Dec 16 2004I never understand the processes how rmi client connect to rmi server, when rmi server hosted on multiple ip addresses machine, and the registry created by LocateRegistry.createRegistry(1099) will listen to which ip address if the host has multiple ip addresses?Can java.rmi.server.hostname property have the same effect on both rmiregisty and rmi server?
For example ,the rmi server machine has two ip addresses , one is 192.168.100.33 and another is 192.168.100.34, the rmi client can ping successfully through either ip address. When the rmi server is started by set java.rmi.server.hostname=192.168.100.34,originally i think the client can't access the rmi server throught 192.168.100.33 but the fact is opposition.
What i want to do is that the rmi client can only through the desinating ip address to access the rmi server, can anyone give me some advice.
Thanks a lot
Liuyan