Back Forum Reply New

RemoteConnectFailureException

.ConnectException: Connection timed out: connect
Caused by: java.rmi.ConnectException: Connection refused to host: 81.107.98.43; nested exception is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org..remoting.rmi.RmiInvocationWrapper_Stub.invoke(Unknown Source)
at org..remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:400)
at org..remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:344)
at org..remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:259)
at org..aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at org..aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy0.poundsToDollars(Unknown Source)
at client.Driver.main(Driver.java:16)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.lt;initgt;(Unknown Source)
at java.net.Socket.lt;initgt;(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 12 more
When I ping 81.107.98.43 (local area connection) i get request timed out.  XP firewall is turned off???

Try the following on the client machine and see if it is successful

ftp lt;server ip/namegt; lt;rmi portgt;

If this fails to connect then it is a network issue else it is your code issue.

- SD
¥
Back Forum Reply New