From d711c19b555648d64bf4b69a35e1758a6c12eec7 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Sun, 28 Aug 2022 11:54:15 +0200 Subject: [PATCH] fix(oohelperd): by default listen on localhost (#887) Part of https://github.com/ooni/probe/issues/2183 --- internal/cmd/oohelperd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/oohelperd/main.go b/internal/cmd/oohelperd/main.go index 485005c..1bee0f6 100644 --- a/internal/cmd/oohelperd/main.go +++ b/internal/cmd/oohelperd/main.go @@ -18,7 +18,7 @@ import ( const maxAcceptableBody = 1 << 24 var ( - endpoint = flag.String("endpoint", ":8080", "Endpoint where to listen") + endpoint = flag.String("endpoint", "127.0.0.1:8080", "Endpoint where to listen") srvAddr = make(chan string, 1) // with buffer srvCancel context.CancelFunc srvCtx context.Context