From 06e513a97677299c332072f609fb4b1bb1df1fe2 Mon Sep 17 00:00:00 2001 From: chrys Date: Fri, 7 Sep 2018 19:39:12 +0200 Subject: [PATCH] restrict ip to localhost --- src/fenrirscreenreader/core/remoteManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/core/remoteManager.py b/src/fenrirscreenreader/core/remoteManager.py index a2118709..3ebefa64 100644 --- a/src/fenrirscreenreader/core/remoteManager.py +++ b/src/fenrirscreenreader/core/remoteManager.py @@ -94,7 +94,7 @@ class remoteManager(): # echo "command say this is a test" | nc localhost 22447 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) - self.host = '0.0.0.0' + self.host = '127.0.0.1' self.port = 22447 self.sock.bind((self.host, self.port)) self.sock.listen(1)