Change server listener addr to 0.0.0.0

This commit is contained in:
Jae Kwon 2015-12-02 00:25:39 -08:00
parent 7931e2b9ca
commit bbaacce472
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import (
func main() { func main() {
// Start the listener // 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 { if err != nil {
Exit(err.Error()) Exit(err.Error())
} }

View File

@ -9,7 +9,7 @@ import (
func main() { func main() {
// Start the listener // 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 { if err != nil {
Exit(err.Error()) Exit(err.Error())
} }