mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-10 20:01:20 +00:00
Change port 8080 to 46658
This commit is contained in:
@ -9,7 +9,7 @@ import (
|
||||
func main() {
|
||||
|
||||
// Start the listener
|
||||
_, err := server.StartListener("tcp://127.0.0.1:8080", example.NewCounterApplication())
|
||||
_, err := server.StartListener("tcp://127.0.0.1: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:8080", example.NewDummyApplication())
|
||||
_, err := server.StartListener("tcp://127.0.0.1:46658", example.NewDummyApplication())
|
||||
if err != nil {
|
||||
Exit(err.Error())
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ func main() {
|
||||
app.Flags = []cli.Flag{
|
||||
cli.StringFlag{
|
||||
Name: "address",
|
||||
Value: "tcp://127.0.0.1:8080",
|
||||
Value: "tcp://127.0.0.1:46658",
|
||||
Usage: "address of application socket",
|
||||
},
|
||||
}
|
||||
|
@ -16,13 +16,13 @@ func TestStream(t *testing.T) {
|
||||
numAppendTxs := 200000
|
||||
|
||||
// Start the listener
|
||||
_, err := server.StartListener("tcp://127.0.0.1:8080", NewDummyApplication())
|
||||
_, err := server.StartListener("tcp://127.0.0.1:46658", NewDummyApplication())
|
||||
if err != nil {
|
||||
Exit(err.Error())
|
||||
}
|
||||
|
||||
// Connect to the socket
|
||||
conn, err := Connect("tcp://127.0.0.1:8080")
|
||||
conn, err := Connect("tcp://127.0.0.1:46658")
|
||||
if err != nil {
|
||||
Exit(err.Error())
|
||||
}
|
||||
|
Reference in New Issue
Block a user