Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #375 from StrongMonkey/fix-domain
Browse files Browse the repository at this point in the history
Go profile use IP instead DNS, fix dns domain check
  • Loading branch information
ibuildthecloud committed Aug 8, 2019
2 parents 4a5ed9d + b7e3cc7 commit a6eeebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a6eeebe

Please sign in to comment.