--- a/svghmi/svghmi_server.py Thu Mar 25 10:13:12 2021 +0100
+++ b/svghmi/svghmi_server.py Thu Mar 25 10:48:24 2021 +0100
@@ -173,7 +173,7 @@
svghmi_root = Resource()
svghmi_root.putChild("ws", WebSocketResource(HMIWebSocketServerFactory()))
- svghmi_listener = reactor.listenTCP(8008, Site(svghmi_root))
+ svghmi_listener = reactor.listenTCP(8008, Site(svghmi_root), interface='localhost')
# start a thread that call the C part of SVGHMI
svghmi_send_thread = Thread(target=SendThreadProc, name="SVGHMI Send")