<p>Check the local IP address of rpi using <code>ifconfig</code>. Let's assume the IP address is <code>192.168.1.25</code>.</p>
<p>Use these values in bitcoin.conf:</p>
<pre><code>rpcbind=192.168.1.25
rpcallowip=192.168.1.1/24

</code></pre>

CC BY-SA 4.0
2023-09-24T17:00:54.330Z
This works great! However, when I try to send a post request using curl to the address, nothing returns... (```curl http://<pi's ip adress>:8332/```) @Lemon
NeonTears
CC BY-SA 4.0
2023-09-23T20:26:27.573Z
2023-09-23T20:26:27.573Z
Lemon
<p>I have been very confused on how to use the <code>rpcbind</code> and <code>rpcallowip</code> arguments for bitcoind. I have a bitcoin core node running on a raspberrypi and I want it to accept json-rpc calls from one of my other devices (connected to the same network as the node). I know I need to use <code>rpcbind</code> and <code>rpcallowip</code> inside of my bitcoin.conf file, but I don't quite understand how. What values should I give to these paramaters? I also already set <code>rpcuser</code> and <code>rpcpassword</code> inside of the configuration file.</p>

<bitcoin-core><bitcoind><json-rpc><bitcoin.conf>
How should I be using rpcbind and rpcallowip (bitcoin.conf)
NeonTears
# How should I be using rpcbind and rpcallowip (bitcoin.conf)

(Asked by: username_0 on 2023-09-23)

I have been very confused on how to use the `rpcbind` and `rpcallowip` arguments for bitcoind. I have a bitcoin core node running on a raspberrypi and I want it to accept json-rpc calls from one of my other devices (connected to the same network as the node). I know I need to use `rpcbind` and `rpcallowip` inside of my bitcoin.conf file, but I don't quite understand how. What values should I give to these paramaters? I also already set `rpcuser` and `rpcpassword` inside of the configuration file.

**Tags:** bitcoin-core, bitcoind, json-rpc, bitcoin.conf


---

## 1 answers

### Answer by username_1 on 2023-09-23. Score: 1 | Accepted answer

Check the local IP address of rpi using `ifconfig`. Let's assume the IP address is `192.168.1.25`.

Use these values in bitcoin.conf:

```
rpcbind=192.168.1.25
rpcallowip=192.168.1.1/24

```

> **Comments:**
> **username_0**: This works great! However, when I try to send a post request using curl to the address, nothing returns... (```curl http://<pi's ip adress>:8332/```) @username_1  

---

