<p>You've set incompatible options. <code>bind=1</code> requires <code>listen=1</code> but <code>proxy=X.X.X.X</code> overwrites <code>listen</code> to <code>0</code>.</p>

CC BY-SA 4.0
2023-03-23T23:19:12.943Z
I will check if there is a problem with the proxy settings.
Luke
CC BY-SA 4.0
2023-03-23T14:11:22.150Z
2023-03-23T14:11:22.150Z
Antoine Poinsot
<p>I set up Tor with bitcoind. After that, when I started the daemon, I got the following error.</p>
<p>Error: Cannot set -bind or -whitebind together with -listen=0</p>
<p>My bitcoin.conf is:</p>
<pre><code>server=1
txindex=1
daemon=1
listen=1
rpcport=8332
rpcbind=0.0.0.0
rpcallowip=127.0.0.1
rpcallowip=10.0.0.0/8
rpcallowip=172.0.0.0/8
rpcallowip=192.0.0.0/8
whitelist=127.0.0.1
proxy=127.0.0.1:9050
bind=127.0.0.1
onlynet=onion
</code></pre>
<p>It starts when I remove bind from bitcoin.conf.
On ubuntu</p>
<p>Anyone have any tips?
thank you.</p>

CC BY-SA 4.0
2023-03-23T13:36:51.270Z
Are you sure your bitcoin.conf includes `listen=1`, because the error message suggests you're setting `listen=0`?
Pieter Wuille
CC BY-SA 4.0
2023-03-23T13:53:06.707Z
Yes.It’s including.The problem is that I get a listen=0 error even though I have listen=1 set.
Luke
CC BY-SA 4.0
2023-03-23T14:00:41.910Z
Are passing `-listen=0` on the command line perhaps? It must be coming from somewhere.
Pieter Wuille
CC BY-SA 4.0
2023-03-23T14:08:14.257Z
Doesn't `-proxy` disable `-listen`? EDIT: Just checked, it does. Writing an answer.
Antoine Poinsot
CC BY-SA 4.0
2023-03-25T10:23:03.117Z
I was able to connect with Onion.
It seems there was a problem with the settings in bitcoin-qt (probably).
However, I am concerned about whether the incoming connection is going well. Because bitcoin-qt is incoming, but network test on 'bitnodes.io' gives 'unreachable' result. is this a problem?
Luke
<bitcoin-core><bitcoind><tor><bitcoin.conf>
Failed to start Bitcoin daemon
Luke
# Failed to start Bitcoin daemon

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

I set up Tor with bitcoind. After that, when I started the daemon, I got the following error.

Error: Cannot set -bind or -whitebind together with -listen=0

My bitcoin.conf is:

```
server=1
txindex=1
daemon=1
listen=1
rpcport=8332
rpcbind=0.0.0.0
rpcallowip=127.0.0.1
rpcallowip=10.0.0.0/8
rpcallowip=172.0.0.0/8
rpcallowip=192.0.0.0/8
whitelist=127.0.0.1
proxy=127.0.0.1:9050
bind=127.0.0.1
onlynet=onion

```

It starts when I remove bind from bitcoin.conf.
On ubuntu

Anyone have any tips?
thank you.

**Tags:** bitcoin-core, bitcoind, tor, bitcoin.conf

> **Comments:**
> **username_1**: Are you sure your bitcoin.conf includes `listen=1`, because the error message suggests you're setting `listen=0`?  
> **username_0**: Yes.It’s including.The problem is that I get a listen=0 error even though I have listen=1 set.  
> **username_1**: Are passing `-listen=0` on the command line perhaps? It must be coming from somewhere.  
> **username_2**: Doesn't `-proxy` disable `-listen`? EDIT: Just checked, it does. Writing an answer.  
> **username_0**: I was able to connect with Onion. It seems there was a problem with the settings in bitcoin-qt (probably). However, I am concerned about whether the incoming connection is going well. Because bitcoin-qt is incoming, but network test on 'bitnodes.io' gives 'unreachable' result. is this a problem?  

---

## 1 answers

### Answer by username_2 on 2023-03-23. Score: 3 | Accepted answer

You've set incompatible options. `bind=1` requires `listen=1` but `proxy=X.X.X.X` overwrites `listen` to `0`.

> **Comments:**
> **username_0**: I will check if there is a problem with the proxy settings.  

---

