Commit 1aae9ad9 authored by Ivan Tyagov's avatar Ivan Tyagov

Bind to 0.0.0.0 - i.e. all interfaces. For now in r&D stage security is not concern.

parent 110e28a8
......@@ -101,7 +101,7 @@ def run_async_server():
identity.MajorMinorRevision = '0.0.1'
# TCP Server
StartTcpServer(context, identity=identity, address=("localhost", 502),
StartTcpServer(context, identity=identity, address=("0.0.0.0", 502),
custom_functions=[CustomModbusRequest])
if __name__ == "__main__":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment