Remote orbd replying localhost address
I have some problems connecting server on remote machine using CORBA. The configuration is as follows:
client on WinXP--------------orbd and my server app on Linux (Fedora Core 3)
The commands used to start the app:
On server machine:
orbd -ORBInitialPort 1040
java MyServer -ORBInitialPort 1040
On client PC:
java MyClient -ORBInitialHost remote_address -ORBInitialPort 1040
After some debugging (analyzing TCP packets) I found that the orb daemon asked for the name service replies giving the wrong IP address: 127.0.0.1 instead of the real remote address and port 1049 which seems a good value. I use Java 1.5 on both machines. Is it a bug or a configuration problem? Any workarounds to solve this problem?
Thanks,
Peter