# Other

{% hint style="info" %}
You can change value `CUSTOM_PORT=10`

(you can use port 4-65353, except: 18, 22, 23, 53, 80 and 323)\
\
to check port that no used, check listened port and use another of it:

```
apt install sysstat -y
netstat -tunlp
```

{% endhint %}

### (for Custom Port) set your Port first

```
PORT=
```

```
echo "export SOURCE=${CUSTOM_PORT}" >> $HOME/.bash_profile
```

<table><thead><tr><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center">Set Custom Ports</td><td align="center"><p></p><pre class="language-bash"><code class="lang-bash">sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${PORT}660\"%" $HOME/.dymension/config/config.toml
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${PORT}317\"%; s%^address = \":8080\"%address = \":${PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${PORT}091\"%; s%^address = \"0.0.0.0:8545\"%address = \"0.0.0.0:${PORT}545\"%; s%^ws-address = \"0.0.0.0:8546\"%ws-address = \"0.0.0.0:${PORT}546\"%" $HOME/.dymension/config/app.toml
</code></pre></td></tr><tr><td align="center">Enable default Indexing (kv)</td><td align="center"><p></p><pre class="language-bash"><code class="lang-bash">sed -i -e 's|^indexer *=.*|indexer = "kv"|' $HOME/.dymension/config/config.toml
</code></pre></td></tr><tr><td align="center">Disable Indexing</td><td align="center"><p></p><pre class="language-bash"><code class="lang-bash">sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.dymension/config/config.toml
</code></pre></td></tr><tr><td align="center">Reset chain data</td><td align="center"><p></p><pre class="language-bash"><code class="lang-bash">dymd tendermint unsafe-reset-all --home $HOME/.dymension --keep-addr-book
</code></pre></td></tr></tbody></table>
