diff --git a/pkg/auth/login.go b/pkg/auth/login.go index 1b4037d55..cc46fc2e1 100644 --- a/pkg/auth/login.go +++ b/pkg/auth/login.go @@ -85,7 +85,7 @@ func HandleLogin(insightsHost string) error { var user, token, organization string if answer == loginUsingBrowser { - listener, err := net.Listen("tcp", ":0") + listener, err := net.Listen("tcp", "localhost:0") if err != nil { panic(err) }