import socket
# get ip address on default interface (for instance eth0) to limit listening on this interface (cyber security request)
ipDefault = socket.gethostbyname(socket.gethostname())
- orbdata.append("%sendPoint = giop:tcp:127.0.0.1:%s"%(prefix,''))
- orbdata.append("%sendPoint = giop:tcp:%s:%s"%(prefix, ipDefault,''))
+ #orbdata.append("%sendPoint = giop:tcp:127.0.0.1:%s"%(prefix,''))
+ #orbdata.append("%sendPoint = giop:tcp:%s:%s"%(prefix, ipDefault,''))
orbdata.append("")
ipDefault = ips.split()[0].decode()
self.CMD = ['omniNames','-start' , aPort]
self.CMD += ['-logdir' , upath, '-errlog', upath+'/omniNameErrors.log']
- self.CMD += ['-ORBendPoint', 'giop:tcp:%s:%s'%(hname,aPort)]
+ #self.CMD += ['-ORBendPoint', 'giop:tcp:%s:%s'%(hname,aPort)]
if verbose(): print("... ok")
if verbose(): print("to list contexts and objects bound into the context with the specified name : showNS ")