createRegistry method in two RMI servers in same machine
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, January 17, 2006 01:21 AM


is it possible to use createRegistry method in two RMI servers in same machine?

Because if I do it, I am getting the following error.
Exception java.rmi.ConnectException: Connection refused to host: 10.2.6.22; nest
ed exception is:
java.net.ConnectException: Connection refused: connect
java.rmi.ConnectException: Connection refused to host: 10.2.6.22; nested excepti
on is:

Re: createRegistry method in two RMI servers in same machine

Posted By:   ankush_purwar  
Posted On:   Tuesday, January 17, 2006 02:41 PM

Yes, it can be possible, but the port of both registries should be different, If they both are running on same machine.
About | Sitemap | Contact