<p>This seems to be more a question about Tor than a Bitcoin specific question, but:</p>
<ol>
<li><p>If your bitcoind is set up to use a Tor socks proxy, by default, it will not listen for incoming connections (because by doing so, you'd be listening on your real IP address, which defeats the security you'd gain from Tor). However, if you really want to help the Bitcoin network by making your Tor-protected bitcoind available on port 8333, you will need to configure it as a hidden service. Refer here for information about this: <a href="https://en.bitcoin.it/wiki/Setting_up_a_Tor_hidden_service" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Setting_up_a_Tor_hidden_service</a></p>
</li>
<li><p>You should set up a hidden service for your RPC port if you wish to make RPC calls through Tor, then from the computer sending RPC commands, send those commands through a local Tor SOCKS proxy. Set up your bitcoind to allow RPC calls only from 127.0.0.1 port 8332 (this will ensure your bitcoind will only accept RPC calls made through Tor), then set up a hidden service for port 8332.</p>
</li>
</ol>

CC BY-SA 4.0
2021-02-23T15:49:55.383Z
2021-02-23T15:49:55.383Z
ieatpizza
<p>I'm getting to work my first bitcoin node, it is running P2P through Tor network.</p>
<p>1: How can it be scanned? how can I see if its exposing any port, or port 8333?</p>
<p>2: How can I make RPC calls through Tor?.... maybe this is not the best way because of security for the RPC API and calls in plain data...</p>
<p>Thank you!</p>

<bitcoin-core><bitcoind><json-rpc><tor><port>
Scan ports for my onion bitcoin node and RPC calls
Nand0san
# Scan ports for my onion bitcoin node and RPC calls

(Asked by: username_0 on 2021-02-23)

I'm getting to work my first bitcoin node, it is running P2P through Tor network.

1: How can it be scanned? how can I see if its exposing any port, or port 8333?

2: How can I make RPC calls through Tor?.... maybe this is not the best way because of security for the RPC API and calls in plain data...

Thank you!

**Tags:** bitcoin-core, bitcoind, json-rpc, tor, port


---

## 1 answers

### Answer by username_1 on 2021-02-23. Score: 0

This seems to be more a question about Tor than a Bitcoin specific question, but:

1. If your bitcoind is set up to use a Tor socks proxy, by default, it will not listen for incoming connections (because by doing so, you'd be listening on your real IP address, which defeats the security you'd gain from Tor). However, if you really want to help the Bitcoin network by making your Tor-protected bitcoind available on port 8333, you will need to configure it as a hidden service. Refer here for information about this: <https://en.bitcoin.it/wiki/Setting_up_a_Tor_hidden_service>
2. You should set up a hidden service for your RPC port if you wish to make RPC calls through Tor, then from the computer sending RPC commands, send those commands through a local Tor SOCKS proxy. Set up your bitcoind to allow RPC calls only from 127.0.0.1 port 8332 (this will ensure your bitcoind will only accept RPC calls made through Tor), then set up a hidden service for port 8332.


---

