• Post Reply Bookmark Topic Watch Topic
  • New Topic

Socket error :Unknown host

 
Rohan Kalbhor
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
i am unable to conect from my machine to the other,i have attached the errors i get,Can you please help me.
Reading the previous topics i would like to add that i have 2 IP addresses for my machine
192.168.1.128
192.168.152.128
If that is of any importance

I am able to telnet to port 42028 to the host machine......but it is not working from java

 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.net.UnknownHostException: null

It looks as if RMI isn't properly configured with the host it should connect to.
 
Rohan Kalbhor
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

Is it the error because of the port.There are 2 IP addresses to the server.Is it because of that
 
ujjwal soni
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your RMI is not configure in a proper way.

Cheers,

Ujjwal B Soni
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!