Search code examples
javacorbaidl

Corba remote access


I have a Corba server runnning in a system, which I want to access from another machine on the same LAN. I tried giving the server ip of the server machine to access (code attached); however I get the error mentioned below:

orbd -ORBInitialPort 1050 -ORBInitialHost <serverip>&

java HelloServer -ORBInitialPort 1050 -ORBInitialHost <serverip>&

java HelloClient -ORBInitialPort 1050 -ORBInitialHost <serverip>&

WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 127.0.1.1; port: 43944"
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
  • It says host name as 127.0.1.1, but that is not the server name i specified.
  • The portnumber is different form wat i have specified
  • The server has not recieved any connections and is still waiting.

Can someone please help me?


Solution

  • Thanks ppl. I have changed /etc/hosts conf file. Changed the localhost ip, and how I am able to access remote server.