Switch usage of port 46658 to 26658

This commit is contained in:
ValarDragon 2018-05-30 21:15:34 -07:00
parent 355fde16fe
commit 72543092a0
5 changed files with 5 additions and 5 deletions

View File

@ -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")

View File

@ -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:

View File

@ -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:

View File

@ -11,7 +11,7 @@ import (
)
func TestClientServerNoAddrPrefix(t *testing.T) {
addr := "localhost:46658"
addr := "localhost:26658"
transport := "socket"
app := kvstore.NewKVStoreApplication()

View File

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