aspose file tools
The moose likes Distributed Java and the fly likes why can't I run rmi server on linux Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "why can Watch "why can New topic
Author

why can't I run rmi server on linux

ma la
Greenhorn

Joined: Nov 25, 2001
Posts: 6
Hi everybody,
This question realy confused me for lone time. I am following the sun's hello example. My server locate on a linux box,and I find that I can get the remote object, but once I call sayhello it results in a exception: Connection refused to host: 127.0.0.1
But if i run the server on win2000, everything runs smoothly. Can anybody tell the reason. thanks


<BR>
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Hi Ma -
You should try to connect through the IP address of the NIC; localhost is a loopback that doesn't connect to the network. That might resolve it.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why can't I run rmi server on linux
 
Similar Threads
java Web Server for Linux
Web Hosting
Installing J2ME tools and SDK on Linux Platform
How to run xwindows from the Client Machine
products similar to Apache JMeter