This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
Change server listener addr to 0.0.0.0
pull/1780/head
Jae Kwon
9 years ago
parent
7931e2b9ca
commit
bbaacce472
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
cmd/counter/main.go
+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
(
)
)
}
Write
Preview
Loading…
Cancel
Save