<p>You can tell bitcoind to have 0 connections using:</p>

<pre><code>bitcoind -maxconnections=0
</code></pre>

CC BY-SA 4.0
2019-09-20T16:41:03.800Z
2019-09-20T16:41:03.800Z
Raghav Sood
<p>I'm using <a href="https://github.com/straumat/blockchain2graph" rel="nofollow noreferrer">blockchain2graph</a> tool to import the Bitcoin blockchain into Neo4j. It uses JSONRPC calls to read block data. For this, I have to have the <code>bitcoind</code> service running. Is it possible to disable the update of the blockchain while <code>bitcoind</code> is running?</p>

<p>I use the cmdline and I've tried <code>-proxy=127.0.0.1:1234</code> and <code>-debugexclude=proxy</code> options but it continuously outputs <code>connect() to 127.0.0.1:1234 failed after select(): Connection refused</code>. I don't want this output either.</p>

<blockchain><bitcoind><json-rpc>
Disable update of blocks locally with bitcoind cmdline option
Nikhil Hegde
# Disable update of blocks locally with bitcoind cmdline option

(Asked by: username_0 on 2019-09-20)

I'm using [blockchain2graph](https://github.com/straumat/blockchain2graph) tool to import the Bitcoin blockchain into Neo4j. It uses JSONRPC calls to read block data. For this, I have to have the `bitcoind` service running. Is it possible to disable the update of the blockchain while `bitcoind` is running?

I use the cmdline and I've tried `-proxy=127.0.0.1:1234` and `-debugexclude=proxy` options but it continuously outputs `connect() to 127.0.0.1:1234 failed after select(): Connection refused`. I don't want this output either.

**Tags:** blockchain, bitcoind, json-rpc


---

## 1 answers

### Answer by username_1 on 2019-09-20. Score: 1 | Accepted answer

You can tell bitcoind to have 0 connections using:

```
bitcoind -maxconnections=0

```


---

