Consider a situation, where you have, a server with a cosmos node already installed. Is it possible to put another cosmos node on this server, as an example of Cascadia, the answer is yes it is possible.

To do this we need to change the ports that cosmos node uses by default, usually these are: 26656; 26657; 6060; 26658; 26660; 9090; 9091

How can we do this? First, we check the ports that are occupied by our cosmos node, which is already installed on the server, by entering the command.

**ss -ntulp**

You will get similar output, in the screen you will see a vivid example, the installation of two space nodes on the server, which are bifurcated on different ports and do not conflict with each other.

Снимок экрана 2023-05-03 в 12.33.02 ПП.png

To change the ports that Cascadia uses by default, use the following commands.

config.toml

(change 26658 to 36658, 26657 to 36657, 6060 to 6061, 26656 to 36656, 26660 to 36660)

**sed -i.bak -e "s%^proxy_app = \\"tcp://127.0.0.1:26658\\"%proxy_app = \\"tcp://127.0.0.1:36658\\"%; s%^laddr = \\"tcp://127.0.0.1:26657\\"%laddr = \\"tcp://127.0.0.1:36657\\"%; s%^pprof_laddr = \\"localhost:6060\\"%pprof_laddr = \\"localhost:6061\\"%; s%^laddr = \\"tcp://0.0.0.0:26656\\"%laddr = \\"tcp://0.0.0.0:36656\\"%; s%^prometheus_listen_addr = \\":26660\\"%prometheus_listen_addr = \\":36660\\"%" $HOME/.cascadiad/config/config.toml**

app.toml

(change 9090 to 9190, 9091 to 9191, 1317 to 1327)

**sed -i.bak -e "s%^address = \\"0.0.0.0:9090\\"%address = \\"0.0.0.0:9190\\"%; s%^address = \\"0.0.0.0:9091\\"%address = \\"0.0.0.0:9191\\"%; s%^address = \\"tcp://0.0.0.0:1317\\"%address = \\"tcp://0.0.0.0:1327\\"%" $HOME/.cascadiad/config/app.toml**

client.toml