From 6d749789ce240a3e6f1447777db63fd8e7525560 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Thu, 27 Feb 2014 14:47:08 +0100 Subject: Use 127.0.0.1 for fish config. Before this change, fish config used 0 as its address. However, this isn't a good idea from security point of view, as web service can be accessed from everywhere, and do anything on the account it was ran on. This also deals with firewalls which block the access to 0 even from the host machine itself. It possibly might fix #673, but I'm not sure. --- share/tools/web_config/webconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index 3eb110bb..1236885d 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -812,7 +812,7 @@ PORT = 8000 while PORT <= 9000: try: Handler = FishConfigHTTPRequestHandler - httpd = SocketServer.TCPServer(("", PORT), Handler) + httpd = SocketServer.TCPServer(("127.0.0.1", PORT), Handler) # Success break except socket.error: -- cgit v1.2.3