From 2f45efba0897ef3cb3ab7137eb65884cf3d01008 Mon Sep 17 00:00:00 2001 From: Matheus Frata Date: Fri, 9 Dec 2016 13:38:11 -0200 Subject: [PATCH] Deleting an extra 'zero' @ default port --- examples/common/asynchronous-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/asynchronous-server.py b/examples/common/asynchronous-server.py index f8d4669de..377e7e8ea 100755 --- a/examples/common/asynchronous-server.py +++ b/examples/common/asynchronous-server.py @@ -103,7 +103,7 @@ #---------------------------------------------------------------------------# # run the server you want #---------------------------------------------------------------------------# -StartTcpServer(context, identity=identity, address=("localhost", 5020)) +StartTcpServer(context, identity=identity, address=("localhost", 502)) #StartUdpServer(context, identity=identity, address=("localhost", 502)) #StartSerialServer(context, identity=identity, port='/dev/pts/3', framer=ModbusRtuFramer) #StartSerialServer(context, identity=identity, port='/dev/pts/3', framer=ModbusAsciiFramer)