I run COS naming service on Linux machine, exactly Ubuntu. IOR of naming service happens to be localhost based, instead of real host address:
Here is parsed IOR:
Code:
_IIOP_ParseCDR: byte order BigEndian, repository id <IDL:omg.org/CosNaming/NamingContextExt:1.0>, 1 profile
_IIOP_ParseCDR: profile 1 is 150 bytes, tag 0 (INTERNET), BigEndian byte order
(iiop.c:parse_IIOP_Profile): bo=BigEndian, version=1.2, hostname=127.0.0.1, port=8900, object_key=<....... ...I................RootPOA.....TNameService.................>
(iiop.c:parse_IIOP_Profile): encoded object key is <¯«Ë%00%00%00%00%20î³%1CI%00%00%00%01%00%00%00%00%00%00%00%02%00%00%00%08RootPOA%00%00%00%00%0DTNameService%00%00%00%00%00%00%00%08%00%00%00%01%00%00%00%01%14>
(iiop.c:parse_IIOP_Profile): non-native cinfo is <iiop_1_2_1_¯«Ë%2500%2500%2500%2500%2520î³%251CI%2500%2500%2500%2501%2500%2500%2500%2500%2500%2500%2500%2502%2500%2500%2500%2508RootPOA%2500%2500%2500%2500%250DTNameService%2500%2500%2500%2500%2500%2500%2500%2508%2500%2500%2500%2501%2500%2500%2500%2501%2514@tcp_127.0.0.1_8900>
object key is <#AF#AB#CB#00#00#00#00 #EE#B3#1CI#00#00#00#01#00#00#00#00#00#00#00#02#00#00#00#08RootPOA#00#00#00#00#0DTNameService#00#00#00#00#00#00#00#08#00#00#00#01#00#00#00#01#14>;
no trustworthy most-specific-type info; unrecognized ORB;
reachable with IIOP 1.2 at host "127.0.0.1", port 8900
Obviously the same service has no such problem when run on Windows machine on the same network. What's specific in Lunix and how to avoid above problem?