# 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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://services.thequadblock.com/services/mainnet/quasar/cli-cheatsheet/other.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
