문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top