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

Alistair Bayley alistair at abayley.org
Wed Aug 31 11:24:32 BST 2011


> 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



More information about the omniORB-list mailing list