permaculture playing cards
The moose likes Distributed Java and the fly likes rmi,unknown host from client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "rmi,unknown host from client" Watch "rmi,unknown host from client" New topic

rmi,unknown host from client

michal wert

Joined: Oct 25, 2009
Posts: 2
I've tried to run rmi example from sun page. The server is running but when I try to run client, the following error is shown:

what's the problem?
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

Looks like while starting the server you have specified:


Is that correct?

The server hostname defaults to localhost, so you dont need to do anything if you are running everything on the same box.

apigee, a better way to API!
michal wert

Joined: Oct 25, 2009
Posts: 2
Thanks. It works
I agree. Here's the link:
subject: rmi,unknown host from client
It's not a secret anymore!