diff options
-rwxr-xr-x | DominoServer.py | 4 | ||||
-rw-r--r-- | README.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/DominoServer.py b/DominoServer.py index 4e8836c..d056542 100755 --- a/DominoServer.py +++ b/DominoServer.py @@ -266,7 +266,7 @@ class DominoServer: self.registration_record = dict() self.communicationHandler = CommunicationHandler(self) self.processor = Communication.Processor(self.communicationHandler) - self.transport = TSocket.TServerSocket(port=9090) + self.transport = TSocket.TServerSocket(port=DOMINO_SERVER_PORT) self.tfactory = TTransport.TBufferedTransportFactory() self.pfactory = TBinaryProtocol.TBinaryProtocolFactory() #Use TThreadedServer or TThreadPoolServer for a multithreaded server @@ -301,7 +301,7 @@ class DominoServer: def main(argv): server = DominoServer() - + loglevel = 'WARNING' #process input arguments try: opts, args = getopt.getopt(argv,"hc:l:",["conf=","log="]) @@ -8,10 +8,10 @@ Tested on Ubuntu 14.04 and OS X El Capitan sudo pip install tosca-parser ###Start Domino Server: - ./DominoServer.py + ./DominoServer.py --log=DEBUG ###Start the first Domino Client: - ./DominoClient.py -p 9091 + ./DominoClient.py -p 9091 --log=DEBUG ###Start the second Domino Client: ./DominoClient.py -p 9092 |