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
Can someone please help me?
Thanks ppl. I have changed /etc/hosts conf file. Changed the localhost ip, and how I am able to access remote server.