File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes RMIRegistry Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMIRegistry Problem" Watch "RMIRegistry Problem" New topic

RMIRegistry Problem

saritha Burra

Joined: Aug 20, 2001
Posts: 4
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
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
Fredrik Safstrom

Joined: May 15, 2001
Posts: 20
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 ???

I agree. Here's the link:
subject: RMIRegistry Problem
It's not a secret anymore!