[omniORB] Localhost IP in IOR
Sai-Lai Lo
s.lo@uk.research.att.com
Thu, 7 Jun 2001 16:22:14 -0000
I've added an explanation to this problem in the FAQ wiki. Check it out.
----- Original Message -----
From: "Matthew N. White" <matthew.white@marconi.com>
To: "Rene Schneider" <rene_schneider@isoftel.com>
Cc: <omniorb-list@uk.research.att.com>
Sent: Thursday, June 07, 2001 1:03 PM
Subject: Re: [omniORB] Localhost IP in IOR
> I've had this problem before, and it resulted from an incorrect /etc/hosts
> file containing:
> 127.0.0.1 ahostname
>
> After correcting this, my problem was fixed. I'm not positive, however,
> the problem was with omniORB.
>
> Matt
>
> Rene Schneider wrote:
>
> > Hello,
> >
> > although the problem seems quite simple to me, I didn't find anything in
> > the documentation:
> > I implemented a CORBA server with OmniORB which writes an IOR in a file.
> > This file is accessible to another CORBA client on a different machine.
> > Because the client didn't accept the IOR, I dumped the IOR and was very
> > suprised to see the following:
> >
> > Repo Id: IDL:Echo:1.0
> > IIOP Profile
> > Version: 1.0
> > Address: 127.0.0.1:1669
> > Key: fe c7 01 1f 3b 00 00 18 b2 00 00 00 00 00 ....;.........
> >
> > Thus, OmniORB wrote the localhost IP (127.0.0.1) to the CORBA server's
> > IOR, which, of course, is not acceptable in a distributed environment.
> > I've searched for a switch somewhere to force the insertion of the
> > correct IP address, but I wasn't successful in that.
> > Other ORBs I tried out on the server side behaved correctly. What went
> > wrong?
> >
> > Thank you
> > Best regards,
> >
> > Rene Schneider
> > System Analyst
> >
> > iSoftel Ltd
> > 9 Penang Road
> > #12-00 Park Mall
> > Singapore 238459
> > Tel: (65) 333 9888
> > Fax: (65) 333 7938
> > Website: www.isoftel.com
> >
> > ENABLING TECHNOLOGIES FOR CARRIER SERVICES
>
> --
> Matthew N. White
> Senior Verification Engineer
> Marconi Networks
> 724-742-6758
>
>
>