Skip to content

Commit

Permalink
Deleting an extra 'zero' @ default port
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Frata authored Dec 9, 2016
1 parent ea6a97b commit 2f45efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/common/asynchronous-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 2f45efb

Please sign in to comment.