From 0bd12d16844c3813be2134830b25004530597beb Mon Sep 17 00:00:00 2001 From: Albert S Date: Mon, 5 Nov 2018 22:34:59 +0100 Subject: [PATCH] listen on 127.0.0.1 instead of 'localhost' --- gateway/httpgateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/httpgateway.cpp b/gateway/httpgateway.cpp index 014d04c..d08a359 100644 --- a/gateway/httpgateway.cpp +++ b/gateway/httpgateway.cpp @@ -91,5 +91,5 @@ void HttpGateway::work(RequestWorker &worker) }; server.Get("/(.*)", handler); server.Post("/(.*)", handler); - server.listen("localhost", 1234); + server.listen("127.0.0.1", 1234); }