<p>it seems the following is the answer to both questions:</p>

<pre><code>// bitcoind.conf, v0.8.1
irc=0
listen=0
rpcpassword=&lt;hash&gt;
</code></pre>

<p>this results in a 127.0.0.1:8332 and ::1:8332 listen only. i was unsuccessful in locating a command that disables ipv6 listens. the onlynet= command limits peer connection types, not listen types.</p>

<p>listen=0 disables live listens, but does not affect localhost binds.
the bind= command only works if listen=1
note that rpcuser= is set default to root if omitted and only accessible by a user with said credentials. disabling all listens would make the daemon inaccessible by command line. the server= command only works for bitcoin-qt.</p>

CC BY-SA 3.0
2013-03-26T04:50:49.653Z
2013-03-26T04:50:49.653Z
Kae Cyphet
<p>I would like to setup bitcoind to run in the background but not have live bindings.</p>

<p>I have tried the following:</p>

<pre><code>bitcoind
bitcoind -server
bitcoind -daemon
bitcoind -daemon -server
bitcoin.conf (server=0)
</code></pre>

<p>0.8.1 seems to bind to 127.0.0.1:8332, 0.0.0.0:8333, ::1:8332, :::8333</p>

<p>How do i disable all bindings and have bitcoind respond via command line, while maintaining new blocks?
OR
How do i bind only to 127.0.0.1:8332?</p>

<p>Goal: duplicate mysqld behavior.</p>

CC BY-SA 3.0
2013-03-25T20:21:32.093Z
IIRC, I think you're looking for the `nolisten` and `rpcallowip` options.
Nick ODell
<bitcoind><server><linux>
How to change bitcoind 0.8.1 bind settings?
Kae Cyphet
# How to change bitcoind 0.8.1 bind settings?

(Asked by: username_0 on 2013-03-25)

I would like to setup bitcoind to run in the background but not have live bindings.

I have tried the following:

```
bitcoind
bitcoind -server
bitcoind -daemon
bitcoind -daemon -server
bitcoin.conf (server=0)

```

0.8.1 seems to bind to 127.0.0.1:8332, 0.0.0.0:8333, ::1:8332, :::8333

How do i disable all bindings and have bitcoind respond via command line, while maintaining new blocks?
OR
How do i bind only to 127.0.0.1:8332?

Goal: duplicate mysqld behavior.

**Tags:** bitcoind, server, linux

> **Comments:**
> **username_1**: IIRC, I think you're looking for the `nolisten` and `rpcallowip` options.  

---

## 1 answers

### Answer by username_0 on 2013-03-26. Score: 1

it seems the following is the answer to both questions:

```
// bitcoind.conf, v0.8.1
irc=0
listen=0
rpcpassword=<hash>

```

this results in a 127.0.0.1:8332 and ::1:8332 listen only. i was unsuccessful in locating a command that disables ipv6 listens. the onlynet= command limits peer connection types, not listen types.

listen=0 disables live listens, but does not affect localhost binds.
the bind= command only works if listen=1
note that rpcuser= is set default to root if omitted and only accessible by a user with said credentials. disabling all listens would make the daemon inaccessible by command line. the server= command only works for bitcoin-qt.


---

