Totonga
Totonga

Reputation: 4366

OMNIORB: uses Vmnet8 ip in IOR which is not reachable outside the server

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.

Upvotes: 1

Views: 210

Answers (1)

Brian Neal
Brian Neal

Reputation: 32389

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.

Upvotes: 1

Related Questions