java.rmi.ConnectException: Connection refused to host.
1 posts in topic
Flat View  Flat View

Posted By:   anything_anyone
Posted On:   Sunday, March 26, 2006 08:56 AM

Hi we are working on a application on RMI, but while in the process of running the server we got the error as follows...

Hello Server failed: java.rmi.ConnectException: Connection refused to host: 169.
254.77.8; nested exception is:
java.net.ConnectException: Connection refused: connects.

we are in a real hurry so please help us out as soon as possible.

Re: java.rmi.ConnectException: Connection refused to host.

Posted By:   Anonymous  
Posted On:   Tuesday, March 28, 2006 04:04 AM

It simply means thats u are not able to make a socket connection with the server. There can be many reasons

1.The server is down.
2. You can be behind a firewall. In that case disable your proxy server or use the Proxy class of JDK 5 to bypass the proxy. Ask ur system administrator what type of proxy u guys are using..whether its a HTTP Proxy/ HTTPS proxy(SSL) or SOCKS
version 4/5 proxy. JDK 5.0 provides support for all of them.

3. Try to ping the server. That would give u some idea.

About | Sitemap | Contact