Skip to content

Commit

Permalink
Merge pull request #2103 from weaveworks/2102-hardcode-loopback-ip
Browse files Browse the repository at this point in the history
Hardcode 127.0.0.1 as loopback IP for default target
  • Loading branch information
Alfonso Acosta authored Dec 21, 2016
2 parents b700261 + 8b45525 commit 00c4a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 00c4a7c

Please sign in to comment.