From c54913d000075fc05e8fc20e2bf55d1ef77b75fe Mon Sep 17 00:00:00 2001 From: Thiago Salles Date: Wed, 19 Mar 2025 18:49:07 -0300 Subject: [PATCH] bind the listener to localhost on integration tests Signed-off-by: Thiago Salles --- test/integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration_test.go b/test/integration_test.go index b41bc00dc..13b01c089 100644 --- a/test/integration_test.go +++ b/test/integration_test.go @@ -38,7 +38,7 @@ import ( var localhostIP string func init() { - ln, err := net.Listen("tcp", ":8080") + ln, err := net.Listen("tcp", "localhost:8080") if err != nil { return }