Merge pull request #2103 from weaveworks/2102-hardcode-loopback-ip

Hardcode 127.0.0.1 as loopback IP for default target
This commit is contained in:
Alfonso Acosta
2016-12-21 09:36:01 +01:00
committed by GitHub

View File

@@ -379,7 +379,7 @@ func main() {
args = append(args, defaultServiceHost)
}
} else if !flags.probe.noApp {
args = append(args, fmt.Sprintf("localhost:%s", port))
args = append(args, fmt.Sprintf("127.0.0.1:%s", port))
}
args = append(args, flag.Args()...)
if !dryRun {