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)