Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

rmi,unknown host from client

 
michal wert
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like while starting the server you have specified:

-Djava.rmi.server.hostname=xyz

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.
 
michal wert
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. It works
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic