# Connect to BTC node from local network

**URL:** <https://community.umbrel.com/t/connect-to-btc-node-from-local-network/18269>\
**Category:** Bitcoin and Lightning\
**Created:** [July 6, 2024, 10:25pm UTC](https://community.umbrel.com/t/connect-to-btc-node-from-local-network/18269 "2024-07-06T22:25:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RuneStone](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/runestone/32/4882_2.png) [@RuneStone](https://community.umbrel.com/u/RuneStone)\
**Post date:** [July 6, 2024, 10:25pm UTC](https://community.umbrel.com/t/connect-to-btc-node-from-local-network/18269/1 "2024-07-06T22:25:56Z")

</div>

I can’t connect to my BTC node (RPC port 8332), from my local network. The node is started as such:  
`bitcoind -port=8333 -rpcport=8332 -rpcbind=10.21.21.8 -rpcbind=127.0.0.1 -rpcallowip=10.21.0.0/16 -rpcallowip=127.0.0.1 -rpcauth=umbrel:3f804c321a4ee4e572ef7bd771bdd5f0$17ef930e8c19f858adcbf7bd38e7c8855cadf2a1b10b558d1d4f12164d5828eb -zmqpubrawblock=tcp://0.0.0.0:28332 -zmqpubrawtx=tcp://0.0.0.0:28333 -zmqpubhashblock=tcp://0.0.0.0:28334 -zmqpubsequence=tcp://0.0.0.0:28335`

As shown in the command, we can see that RPC connections is only allowed from Umbrel itself. How can I add another IP (`-rpcallowip`) so I can connect from my local network?

---

<div class="post-metadata">

**Author:** ![Juniorduc44](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@Juniorduc44](https://community.umbrel.com/u/Juniorduc44)\
**Post date:** [September 30, 2024, 8:25am UTC](https://community.umbrel.com/t/connect-to-btc-node-from-local-network/18269/2 "2024-09-30T08:25:36Z")

</div>

I hope this helps a little. Ive been struggling trying to get my connection too.

Although im dead tired after troubleshooting all day. I decided to knock out a tutorial as best i could before i lost motivation to do it later or passed out. My code will be updated when i wake up so you can see current full block info. Currently i have it setup to see just three data points…the block, hash and something else i think.

> **[GitHub - Juniorduc44/umbrelBitcoinRPC: just a way to query my node for block data](https://github.com/Juniorduc44/umbrelBitcoinRPC)**
>
> just a way to query my node for block data

---

<div class="post-metadata">

**Author:** ![shaeh](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@shaeh](https://community.umbrel.com/u/shaeh)\
**Post date:** [October 2, 2024, 11:37pm UTC](https://community.umbrel.com/t/connect-to-btc-node-from-local-network/18269/3 "2024-10-02T23:37:17Z")

</div>

I fell victim to a fraudulent trading platform, losing $9500 in USDT to Beam Future Trading. After struggling to recover my funds, I sought help from Crypto Pandemic Hunter on my friend’s recommendation. The team demonstrated excellent customer service, expertise in crypto, and cutting-edge technology. By analyzing the blockchain and collaborating with exchanges, they tracked down and successfully recovered most of my lost funds, providing me with immense relief. I highly recommend Crypto Pandemic Hunter for their swift and effective recovery services. Contact them at cryptopandemichunter[at][consultant.com](http://consultant.com)
