From 72543092a072d8eb1ef5b54c6a87c0781eeac36e Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Wed, 30 May 2018 21:15:34 -0700 Subject: [PATCH] Switch usage of port 46658 to 26658 --- cmd/abci-cli/abci-cli.go | 2 +- example/python/app.py | 2 +- example/python3/app.py | 2 +- tests/client_server_test.go | 2 +- tests/test_app/app.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/abci-cli/abci-cli.go b/cmd/abci-cli/abci-cli.go index 2743fa2b1..b773c990b 100644 --- a/cmd/abci-cli/abci-cli.go +++ b/cmd/abci-cli/abci-cli.go @@ -110,7 +110,7 @@ func Execute() error { } func addGlobalFlags() { - RootCmd.PersistentFlags().StringVarP(&flagAddress, "address", "", "tcp://0.0.0.0:46658", "address of application socket") + RootCmd.PersistentFlags().StringVarP(&flagAddress, "address", "", "tcp://0.0.0.0:26658", "address of application socket") RootCmd.PersistentFlags().StringVarP(&flagAbci, "abci", "", "socket", "either socket or grpc") RootCmd.PersistentFlags().BoolVarP(&flagVerbose, "verbose", "v", false, "print the command and results as if it were a console session") RootCmd.PersistentFlags().StringVarP(&flagLogLevel, "log_level", "", "debug", "set the logger level") diff --git a/example/python/app.py b/example/python/app.py index a44ff3455..1c041be6c 100644 --- a/example/python/app.py +++ b/example/python/app.py @@ -68,7 +68,7 @@ class CounterApplication(): if __name__ == '__main__': l = len(sys.argv) if l == 1: - port = 46658 + port = 26658 elif l == 2: port = int(sys.argv[1]) else: diff --git a/example/python3/app.py b/example/python3/app.py index b40041a43..9f051b1e2 100644 --- a/example/python3/app.py +++ b/example/python3/app.py @@ -68,7 +68,7 @@ class CounterApplication(): if __name__ == '__main__': l = len(sys.argv) if l == 1: - port = 46658 + port = 26658 elif l == 2: port = int(sys.argv[1]) else: diff --git a/tests/client_server_test.go b/tests/client_server_test.go index 3e1e3e1cd..1f05c9a71 100644 --- a/tests/client_server_test.go +++ b/tests/client_server_test.go @@ -11,7 +11,7 @@ import ( ) func TestClientServerNoAddrPrefix(t *testing.T) { - addr := "localhost:46658" + addr := "localhost:26658" transport := "socket" app := kvstore.NewKVStoreApplication() diff --git a/tests/test_app/app.go b/tests/test_app/app.go index 6145e2003..1c308ec0d 100644 --- a/tests/test_app/app.go +++ b/tests/test_app/app.go @@ -12,7 +12,7 @@ import ( func startClient(abciType string) abcicli.Client { // Start client - client, err := abcicli.NewClient("tcp://127.0.0.1:46658", abciType, true) + client, err := abcicli.NewClient("tcp://127.0.0.1:26658", abciType, true) if err != nil { panic(err.Error()) }