Last active
October 8, 2022 12:16
-
-
Save asverty/2037616706d8ab276baee17675224a9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#check the ports | |
netstat -ntlp | grep LISTEN | |
#if ports open, set from -> to in config.toml | |
#26658 -> 26653 | |
#26657 -> 26652 | |
#6060 -> 6061 | |
#26656 -> 26651 | |
#26660 -> 26655 | |
#in app.toml | |
#9090 -> 9092 | |
#9091 -> 9093 | |
#set ports | |
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:26653\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:26652\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:6061\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:26651\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":26655\"%" $HOME/.ion/config/config.toml | |
sed -i.bak -e "s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:9092\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:9093\"%" $HOME/.ion/config/app.toml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment