<p>Answering the second part of your question:</p>
<p><code>server=1</code> tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands, so you can query it</p>
<p><code>listen=1</code> is a bitcoin listening mode</p>
<p><code>daemon=1</code> starts bitcoind in the background as a daemon</p>
<p><code>rpcuser=X</code> and <code>rpcpassword=Q</code> is the user/password for rpc access</p>
<p><code>rpcallowip=localhost</code> means you can access it through rpc only from your localhost IP machine, add external IP if you want to access it from outside</p>
<p><code>rpcport=Y</code> is the rpc port to access it (localhost:Y), for bitcoind the default is <code>8332</code></p>
<p>AFAIK the second config won't work for rpc, you haven't specified rpcuser, and you will see the bitcoind output in the console (not a daemon).</p>

CC BY-SA 4.0
2020-07-16T16:59:00.410Z
Thank you Tony, But about `listen=1` **is a bitcoin listening mode** litening to what? To the rpc call?
Hamita
CC BY-SA 4.0
2020-07-16T19:38:38.890Z
It means, that your node accepts an incoming connection and uploads old blocks to other peers (when they are in the initial block download phase and later when propagation happens). Listening to rpc calls is defined by server=1.
Tony Sanak
CC BY-SA 4.0
2020-07-16T01:08:16.217Z
2020-07-16T01:08:16.217Z
Tony Sanak
<pre><code>server=1
listen=1
daemon=1
rpcuser=X
rpcpassword=Q
rpcallowip=localhost
rpcport=Y
</code></pre>
<p>And</p>
<pre><code>server=1
rpcuser=X
rpcpassword=Q
rpcallowip=localhost
rpcport=Y
</code></pre>
<p>I am a litlle confused, can these two conf file accepts solomining? And what's the difference between them?</p>
<p>Thank you for help</p>

<solo-mining><bitcoin.conf>
What's the diffrence between these two bitcoin.conf format?
Hamita
# What's the diffrence between these two bitcoin.conf format?

(Asked by: username_0 on 2020-07-15)

server=1
listen=1
daemon=1
rpcuser=X
rpcpassword=Q
rpcallowip=localhost
rpcport=Y

And
server=1
rpcuser=X
rpcpassword=Q
rpcallowip=localhost
rpcport=Y

I am a litlle confused, can these two conf file accepts solomining? And what's the difference between them?
Thank you for help

**Tags:** solo-mining, bitcoin.conf


---

## 1 answers

### Answer by username_1 on 2020-07-16. Score: 4 | Accepted answer

Answering the second part of your question:

`server=1` tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands, so you can query it

`listen=1` is a bitcoin listening mode

`daemon=1` starts bitcoind in the background as a daemon

`rpcuser=X` and `rpcpassword=Q` is the user/password for rpc access

`rpcallowip=localhost` means you can access it through rpc only from your localhost IP machine, add external IP if you want to access it from outside

`rpcport=Y` is the rpc port to access it (localhost:Y), for bitcoind the default is `8332`

AFAIK the second config won't work for rpc, you haven't specified rpcuser, and you will see the bitcoind output in the console (not a daemon).

> **Comments:**
> **username_0**: Thank you Tony, But about `listen=1` **is a bitcoin listening mode** litening to what? To the rpc call?  
> **username_1**: It means, that your node accepts an incoming connection and uploads old blocks to other peers (when they are in the initial block download phase and later when propagation happens). Listening to rpc calls is defined by server=1.  

---

