This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI problem  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have one SCO-UNIX machine on which i hv installed jdk-1.1.8 & one windows 98 machine on which jdk1.4 is installed. Unix & windows machines are connected in LAN.I m trying to make RMI interface between these two.
I hv run RMI program on 2 windows but i m unable to run the same program on unix (server) & windows(client). After doing all the procedure (creating stubs & skeletons etc.) and after starting RMI registry when i run my server program (Server.java) by giving "#java Server &" i get the following error message:
#Exception: java.rmi.connectIOException:
Error creating connection to :[rgp:1099];
nested exception is :
java.net.NoRouteToHostException: No route to host
i m not getting exactly what to do.....coz network connection is proper...i hv done some client-server programs using sockets which work well on Unix &windows.....
Please help me....If u know any solution,link abt it...plz tell me.....
WAITING 4 UR REPLY...!
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sounds to me like you are not using the correct host name, or you can't connect via LAN. try pinging the hostname, or replace the hostname with the IP address in your program
 
Hey! Wanna see my flashlight? It looks like this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!