From bcf9d605d2b523cc1f9ae87daa8c91572e93090d 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 a8fce6a..bfd7ee0 100644 --- a/gateway/httpgateway.cpp +++ b/gateway/httpgateway.cpp @@ -89,5 +89,5 @@ void HttpGateway::work(RequestWorker &worker) }; server.Get("/(.*)", handler); server.Post("/(.*)", handler); - server.listen("localhost", 1234); + server.listen("127.0.0.1", 1234); }