diff --git a/testing/scenarios/common.go b/testing/scenarios/common.go index ebfc663d3..ac6155bb8 100644 --- a/testing/scenarios/common.go +++ b/testing/scenarios/common.go @@ -23,7 +23,7 @@ import ( ) func pickPort() net.Port { - listener, err := net.Listen("tcp4", ":0") + listener, err := net.Listen("tcp4", "127.0.0.1:0") common.Must(err) defer listener.Close()