This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Similar Threads
IS this Interface design OK
Can we start RMI registrt remotely
Singleton Pattern
Please Help! Clarification on Local vs Remote Approach.
rmiregistry problem..