Question

I have installed a CORBA server on a machine that also runs VMWare-Player. The VMWare player creates two virtual Network connections. The VMnet8 connection is used for VM network NAT mode.

Accidentially my Corba server picks this network connection as first not loopback interface and uses the ip of this inside its IOR and nameservice which means the IP is not accessible from clients.

Is there a way to set the default IP without setting a fixed endpoint in omniorb.

Was it helpful?

Solution

See the documentation on the endPoint* family of options. You can specify which interfaces servers will listen on and publish in IORs.

These options can be set on the command line, a config file, extra argument to orb_init(), or environment variable. More information on the configuration API can be found here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top