Hi Can Anyone tell me My RMI Registry is running on one machine whose IPaddress is machine1 and port no. 5000 and RMI Server is on the other machine whose IPAddress is machine2 and port no. 5000 Now Iam binding the object in RMIServer using Naming.rebind("rmi://machine1:5000/Bindingobjectname",obj); Now when after starting RMIRegistry which is in the other machine When i start RMIServer which is one my machine Iam getting a Connection Exception i.e cannot connect to machine1 Thanx Saritha
posted 14 years ago
Saritha, Just out of curiosity... Why would you like to run the RMI registry on a different machine than your RMI server??? Why don't you just create one in your RMI Server code ???