mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-29 10:30:20 +00:00
Change server listener addr to 0.0.0.0
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user