From: Anthony Geay Date: Wed, 6 Nov 2019 07:21:01 +0000 (+0100) Subject: fail to connect to omniNames with endPoint activated X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fagy%2Fdocker_test;p=modules%2Fkernel.git fail to connect to omniNames with endPoint activated --- diff --git a/bin/ORBConfigFile.py b/bin/ORBConfigFile.py index ba512034a..9455013c9 100755 --- a/bin/ORBConfigFile.py +++ b/bin/ORBConfigFile.py @@ -69,8 +69,8 @@ def writeORBConfigFile(path, host, port, kwargs={}): 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("") diff --git a/bin/nameserver.py b/bin/nameserver.py index 257969892..bfe97a001 100644 --- a/bin/nameserver.py +++ b/bin/nameserver.py @@ -93,7 +93,7 @@ class NamingServer(Server): 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 ")