[omniORB] [help] [beginner] cannot run naming service examples from python chapter 2 "The Basics"

Johnny Willemsen jwillemsen at remedy.nl
Wed Aug 31 10:22:16 BST 2011


Hi,

Check you etc/localhost file for the definition of localhost, have seen
systems where it was defined as 127.0.0.2

Johnny

On 08/31/2011 12:24 AM, Alistair Bayley wrote:
>> If you use telnet, does it connect?:
>> telnet localhost 2809
>>
>> How about
>> telnet 127.0.0.1 2809
>>
>> and
>> telnet 172.30.135.150 2809
> 
> Yep, all 3 of these work.
> 
> 
>> Does it work if you change omniORB.cfg to be
>>
>>  InitRef = NameService=corbaname::127.0.0.1
>> or
>>  InitRef = NameService=corbaname::172.30.135.150
> 
> Yep, both of those work.
> 
> I find it odd that this works:
>   InitRef = NameService=corbaname::127.0.0.1
> 
> but this does not:
>   InitRef = NameService=corbaname::localhost
> 
> To me they should be equivalent.
> 
> Also, this works:
>   InitRef = NameService=corbaloc::127.0.0.1:2809/NameService
> 
> while this still does not:
>   InitRef = NameService=corbaloc::localhost:2809/NameService
> 
> Thanks,
> Alistair
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
> 
> 




More information about the omniORB-list mailing list