Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NoRouteToHostException & Host unreachable(Pls Help ME)

843793Apr 22 2002 — edited Aug 12 2002
Hi All,

I am a new bee to this Forum and have great hope on u all, that you guys will definitely help me out of this problem. I have my problem with the RMI Server which is throwing me NoRouteToHostException & Host unreachable: no further information.

1) I learnt it from the FAQ that we have to open the PORT 1099 in the Server Machine (win 2000), but I don�t know where to do so. I went to Internet Protocol (TCP/IP) Advanced Setting and confirmed all the TCP/IP ports are permitted in the Server machine. Please let me know whether I was right.

2) I also read from one of the FAQ�s that , it would be a problem with the POLICY FILE of both the client and the server machine. I have given ALL Permission in my policy file.

3) Please guide me about starting my server and client also.

4) My server machine is using NAT i.e it have got Internal IP address and External IP address. I am confused which IP address to use starting my server and also in Naming.lookup in the client.

This is the following error I get after starting my server and then trying to connect from the client machine(win 98) .

This Error I get it at my Client Side.

I strongly believe the hearts of good people in this forum. Please lift me from this bug.
I thank before in hand of those who help me in the problem.

HotSync started 04/16/02 15:49:34
OK Date Book
OK To Do List
OK Memo Pad
OK Expense
Handydex Conduit

java.rmi.ConnectIOException: Exception creating connection to: <IP ADDRESS>; nested exception is:
java.net.NoRouteToHostException: Host unreachable: no further information

java.net.NoRouteToHostException: Host unreachable: no further information

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.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)

at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)

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.newCall(Unknown Source)

at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

at java.rmi.Naming.lookup(Unknown Source)

at samples.handydex.HospitalCond.open(HospitalCond.java:66)

at palm.conduit.SyncManager.sync(SyncManager.java:132)

OK System


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2002
Added on Apr 22 2002
11 comments
3,179 views