# Run a Chiliz Chain Node

Running your own Chiliz Chain node provides control and privacy but demands more technical skill and resources.

This page gives you the essential parameters to launch your node.

If you are ready to go straight into code mode, here is the gist of it:

```bash
docker run \
-v $(pwd)/my-datadir:/datadir \
--name ccv2-node \
-p 8545:8545 \
-p 8546:8546 \
chilizchain/ccv2-geth:latest \
--chiliz \ # for Chiliz Mainnet. Use --spicy for Spicy Testnet.
--datadir=/datadir \
--ipcdisable \
--http \
--http.addr=0.0.0.0 \
--http.api=eth,net,web3,debug,txpool \
--http.port=8545 \
--http.corsdomain="*" \
--http.vhosts="*" \
--ws \
--ws.addr=0.0.0.0 \
--ws.api=eth,net,web3,debug,txpool \
--ws.port=8546 \
--ws.origins="*" \
```

For more details, check this more complete page:

{% content-ref url="/pages/9YZsEmPaaQYP2h1RqyS1" %}
[Run a Chiliz Chain Node](/develop/basics/connect-to-chiliz-chain/run-a-chiliz-chain-node.md)
{% endcontent-ref %}

Also, you might be interested in running a Validator node:

{% content-ref url="/pages/ppcymFdm3NKLps6cECR9" %}
[Running a Validator node](/learn/about-validators/running-a-validator-node.md)
{% endcontent-ref %}


---

# 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://docs.chiliz.com/quick-start/developer-toolbox/run-a-chiliz-chain-node.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.
