diff --git a/cmd/counter/main.go b/cmd/counter/main.go index 4870b8be0..7c31aff7a 100644 --- a/cmd/counter/main.go +++ b/cmd/counter/main.go @@ -9,7 +9,7 @@ import ( func main() { // Start the listener - _, err := server.StartListener("tcp://127.0.0.1:46658", example.NewCounterApplication()) + _, err := server.StartListener("tcp://0.0.0.0:46658", example.NewCounterApplication()) if err != nil { Exit(err.Error()) } diff --git a/cmd/dummy/main.go b/cmd/dummy/main.go index 7f3176bf3..fe5077bb5 100644 --- a/cmd/dummy/main.go +++ b/cmd/dummy/main.go @@ -9,7 +9,7 @@ import ( func main() { // Start the listener - _, err := server.StartListener("tcp://127.0.0.1:46658", example.NewDummyApplication()) + _, err := server.StartListener("tcp://0.0.0.0:46658", example.NewDummyApplication()) if err != nil { Exit(err.Error()) }