Browse Source

Change server listener addr to 0.0.0.0

pull/1780/head
Jae Kwon 9 years ago
parent
commit
bbaacce472
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      cmd/counter/main.go
  2. +1
    -1
      cmd/dummy/main.go

+ 1
- 1
cmd/counter/main.go View File

@ -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())
}


+ 1
- 1
cmd/dummy/main.go View File

@ -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())
}


Loading…
Cancel
Save