<p>The credentials for the RPC interface are sent in cleartext, so anyone who was able to observe the packets containing that information would now know the username and password for the RPC interface of your node, as well as its IP address.</p>

CC BY-SA 4.0
2022-12-08T17:06:31.740Z
2022-12-08T17:22:49.787Z
2022-12-08T17:22:49.787Z
Ava Chow
<p>While trying to connect to my full node, I accidentally entered my public ip address in the rpcconnect field of bitcoin.conf. Should I be worried that my  password is now out there and anyone can connect to my node via rpc? As a side note, the connection would not be successfull because I specify <code>rpcallowip</code> to only connect with local addresses.</p>
<pre><code>rpcuser=user
rpcpassword=password
rpcconnect=public_ip
</code></pre>

CC BY-SA 4.0
2022-12-08T17:25:30.543Z
Did you actually make a connection over the internet? (i.e., is `public_ip` equal to the IP of the machine you ran `bitcoin-cli` on?)
Pieter Wuille
CC BY-SA 4.0
2022-12-09T01:06:05.583Z
no it is a different machine on the same local network. I realized my mistake as soon as I entered the command, so I exited before I got a response.
jesuis
CC BY-SA 4.0
2022-12-09T01:23:53.063Z
If it's on another machine on the local network, the connection wouldn't go over the internet. So unless you don't trust your local network administration, I don't see an issue.
Pieter Wuille
<bitcoin-core><security><json-rpc><full-node>
does connecting to full node via rpc over the public internet reveal your credentials?
jesuis
# does connecting to full node via rpc over the public internet reveal your credentials?

(Asked by: username_0 on 2022-12-08)

While trying to connect to my full node, I accidentally entered my public ip address in the rpcconnect field of bitcoin.conf. Should I be worried that my password is now out there and anyone can connect to my node via rpc? As a side note, the connection would not be successfull because I specify `rpcallowip` to only connect with local addresses.

```
rpcuser=user
rpcpassword=password
rpcconnect=public_ip

```

**Tags:** bitcoin-core, security, json-rpc, full-node

> **Comments:**
> **username_1**: Did you actually make a connection over the internet? (i.e., is `public_ip` equal to the IP of the machine you ran `bitcoin-cli` on?)  
> **username_0**: no it is a different machine on the same local network. I realized my mistake as soon as I entered the command, so I exited before I got a response.  
> **username_1**: If it's on another machine on the local network, the connection wouldn't go over the internet. So unless you don't trust your local network administration, I don't see an issue.  

---

## 1 answers

### Answer by username_2 on 2022-12-08. Score: 1 | Accepted answer

The credentials for the RPC interface are sent in cleartext, so anyone who was able to observe the packets containing that information would now know the username and password for the RPC interface of your node, as well as its IP address.


---

