I have started orbd on port 1099, and have opened the router to forward 1099 to 192.168.0.96, and when I run it locally (both server and client), it works.
When I try to access the server from elsewhere I use the public ip (router public address) but get the following:
Any ideas?
When I try to access the server from elsewhere I use the public ip (router public address) but get the following:
Code:
>java NTestClient -ORBInitialPort 1099 -O
RBInitialHost "The public address"
2006-mar-06 16:18:21 com.sun.corba.se.impl.transport.SocketOrChannelConnectionIm
pl <init>
VARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR
_TEXT; hostname: 192.168.0.96; port: 1049"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U
nknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U
nknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create
Connection(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin
Request(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Unknow
n Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown S
ource)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at org.omg.CosNaming.NamingContextExtHelper.narrow(Unknown Source)
at NTestClient.main(NTestClient.java:24)
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket
(Unknown Source)
... 9 more
2006-mar-06 16:18:43 com.sun.corba.se.impl.transport.SocketOrChannelConnectionIm
pl <init>
VARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR
_TEXT; hostname: 192.168.0.96; port: 1099"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U
nknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U
nknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create
Connection(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin
Request(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin
Request(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Unknow
n Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown S
ource)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at org.omg.CosNaming.NamingContextExtHelper.narrow(Unknown Source)
at NTestClient.main(NTestClient.java:24)
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket
(Unknown Source)
... 10 more
ERROR : org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U
nknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U
nknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create
Connection(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin
Request(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin
Request(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Unknow
n Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown S
ource)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at org.omg.CosNaming.NamingContextExtHelper.narrow(Unknown Source)
at NTestClient.main(NTestClient.java:24)
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket
(Unknown Source)
... 10 more
Any ideas?