[omniORB] RE: client publishes localhost (127.0.0.1) when listening on hostname

Igor Lautar Igor.Lautar at hermes-softlab.com
Tue Jun 10 14:51:48 BST 2008


Hi All,

Some updates on this subject.

It seams specifying both endPoints (giop:tcp:0.0.0.0:23230 &
giop:tcp:<HOSTNAME>:23230) was the culprint. Because 0.0.0.0 was first
in list, IPs were being published. So in case where there were multiple
IPs, wrong one could be provided. We preffer hostnames (as client can
then resolve IP, depending on which subnet is located etc.), so we had
to change ordering of endPoints during initialization.

We've just moved giop:tcp:<HOSTNAME>:23230 before giop:tcp:0.0.0.0:23230
during initialization and now hostname is being published in IORs.

Issue mentioned previously is hard to reproduce, but this makes sense
for me and I expect to not be a problem any more (as wrong IP cannot be
published now).

Any comments/ideas?

Regards,
Igor

Igor Lautar wrote:
<cut>



More information about the omniORB-list mailing list