diff --git a/cli/cmd/install/install.go b/cli/cmd/install/install.go index 0b48afaed..6858e1b44 100644 --- a/cli/cmd/install/install.go +++ b/cli/cmd/install/install.go @@ -234,7 +234,7 @@ func (i *Install) Run(ctx *clicontext.CLIContext) error { if clusterDomain == "" { fmt.Println("Warning: Detected that Rio cluster domain is not generated for this cluster right now") } else { - _, err = http.Get(fmt.Sprintf("http://%s:%s", clusterDomain, i.HTTPPort)) + _, err = http.Get(fmt.Sprintf("http://rio.%s:%s", clusterDomain, i.HTTPPort)) if err != nil { fmt.Printf("Warning: ClusterDomain is not accessible. Error: %v\n", err) } else { diff --git a/main.go b/main.go index 92791db63..4c44be89a 100644 --- a/main.go +++ b/main.go @@ -105,7 +105,7 @@ func main() { func run(c *cli.Context) error { go func() { - logrus.Fatal(http.ListenAndServe("localhost:6061", nil)) + logrus.Fatal(http.ListenAndServe("127.0.0.1:6061", nil)) }() if debug { setupDebugLogging()