From c0879a379f92e64da2115fdbb6a847635d8d2244 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Thu, 29 Dec 2022 01:39:30 +0300 Subject: [PATCH] Healthcheck listen on localhost (#138) --- cmd/wg-portal/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/wg-portal/main.go b/cmd/wg-portal/main.go index 14b5841..430d92d 100644 --- a/cmd/wg-portal/main.go +++ b/cmd/wg-portal/main.go @@ -28,7 +28,7 @@ func main() { defer cancel() // start health check service on port 11223 - healthcheck.New(healthcheck.ListenOn(":11223")).StartWithContext(ctx) + healthcheck.New(healthcheck.ListenOn("127.0.0.1:11223")).StartWithContext(ctx) service := server.Server{} if err := service.Setup(ctx); err != nil {