<pre><code>rpcbind=bitcoind
</code></pre>
<p>In the question you referred to, &quot;bitcoind&quot; is supposed to be the network-name of the computer on which bitcoin is running.</p>
<blockquote>
<pre><code># local DNS name (container name used in my Docker Compose file)
rpcbind=bitcoind
</code></pre>
</blockquote>
<p>Open a command prompt window and type the command <code>hostname</code> to find out the network name of your computer. If the hostname shown is squonk, double check it by using the command <code>nslookup squonk</code> or equivalent (e.g. <code>dig squonk</code> or <code>host squonk</code> on Linux)</p>
<p>The clue in your log file is this pair of lines</p>
<pre><code>libevent: getaddrinfo: nodename nor servname provided, or not known
Binding RPC on address bitcoind port 8332 failed.
</code></pre>
<p>If you run bitcoind with the -help option it tells you</p>
<pre><code>  -rpcbind=&lt;addr&gt;[:port]
       Bind to given address to listen for JSON-RPC connections. Do not expose
       the RPC server to untrusted networks such as the public internet!
       This option is ignored unless -rpcallowip is also passed. Port is
       optional and overrides -rpcport. Use [host]:port notation for
       IPv6. This option can be specified multiple times (default:
       127.0.0.1 and ::1 i.e., localhost)
</code></pre>
<p>You could then change the line in the configurartion file</p>
<pre><code>rpcbind=squonk
</code></pre>
<p>Your extract from the log file omits the line before</p>
<pre><code>Binding RPC on address 127.0.0.1 port 8332 failed.
</code></pre>
<p>But those few lines before the above may tell you about a more important problem that is the root cause of your difficulties.</p>

CC BY-SA 4.0
2022-10-29T09:09:14.030Z
2022-10-29T09:24:11.913Z
2022-10-29T09:24:11.913Z
RedGrittyBrick
<p>After long time of not running Bitcoin Core I ran it and got:</p>
<p><a href="https://i.sstatic.net/3CWs3.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/3CWs3.png" alt="enter image description here" /></a></p>
<p>Config file was:</p>
<pre><code> # server=1 tells Bitcoin-QT to accept JSON-RPC commands.
server=1

 # You must set rpcuser and rpcpassword to secure the JSON-RPC api
rpcuser=user
rpcpassword=password
</code></pre>
<p>According to <a href="https://bitcoin.stackexchange.com/a/88419/54914">recommendations from other post</a>, I have added this to config file</p>
<pre><code># added
rpcallowip=0.0.0.0/0
rpcbind=127.0.0.1
rpcbind=bitcoind
</code></pre>
<p>but it didn't help.</p>
<p>Log file is following</p>
<pre><code>2022-10-28T21:02:52Z Binding RPC on address 127.0.0.1 port 8332 failed.
2022-10-28T21:02:54Z libevent: getaddrinfo: nodename nor servname provided, or not known
2022-10-28T21:02:54Z Binding RPC on address bitcoind port 8332 failed.
2022-10-28T21:02:54Z Unable to bind any endpoint for RPC server
2022-10-28T21:02:54Z Error: Unable to start HTTP server. See debug log for details.
2022-10-28T21:02:58Z Shutdown: In progress...
2022-10-28T21:02:58Z scheduler thread exit
2022-10-28T21:02:58Z Shutdown: done
</code></pre>
<p>What else can be done?</p>

<bitcoin-core><windows>
Unable to start BitcoinCore: Unable to start HTTP server. See debug logs for details
Dims
# Unable to start BitcoinCore: Unable to start HTTP server. See debug logs for details

(Asked by: username_0 on 2022-10-28)

After long time of not running Bitcoin Core I ran it and got:

[![enter image description here](https://i.sstatic.net/3CWs3.png)](https://i.sstatic.net/3CWs3.png)

Config file was:

```
 # server=1 tells Bitcoin-QT to accept JSON-RPC commands.
server=1

 # You must set rpcuser and rpcpassword to secure the JSON-RPC api
rpcuser=user
rpcpassword=password

```

According to [recommendations from other post](https://bitcoin.stackexchange.com/a/88419/54914), I have added this to config file

```
# added
rpcallowip=0.0.0.0/0
rpcbind=127.0.0.1
rpcbind=bitcoind

```

but it didn't help.

Log file is following

```
2022-10-28T21:02:52Z Binding RPC on address 127.0.0.1 port 8332 failed.
2022-10-28T21:02:54Z libevent: getaddrinfo: nodename nor servname provided, or not known
2022-10-28T21:02:54Z Binding RPC on address bitcoind port 8332 failed.
2022-10-28T21:02:54Z Unable to bind any endpoint for RPC server
2022-10-28T21:02:54Z Error: Unable to start HTTP server. See debug log for details.
2022-10-28T21:02:58Z Shutdown: In progress...
2022-10-28T21:02:58Z scheduler thread exit
2022-10-28T21:02:58Z Shutdown: done

```

What else can be done?

**Tags:** bitcoin-core, windows


---

## 1 answers

### Answer by username_1 on 2022-10-29. Score: 0

```
rpcbind=bitcoind

```

In the question you referred to, "bitcoind" is supposed to be the network-name of the computer on which bitcoin is running.

> ```
> # local DNS name (container name used in my Docker Compose file)
> rpcbind=bitcoind
>
> ```

Open a command prompt window and type the command `hostname` to find out the network name of your computer. If the hostname shown is squonk, double check it by using the command `nslookup squonk` or equivalent (e.g. `dig squonk` or `host squonk` on Linux)

The clue in your log file is this pair of lines

```
libevent: getaddrinfo: nodename nor servname provided, or not known
Binding RPC on address bitcoind port 8332 failed.

```

If you run bitcoind with the -help option it tells you

```
  -rpcbind=<addr>[:port]
       Bind to given address to listen for JSON-RPC connections. Do not expose
       the RPC server to untrusted networks such as the public internet!
       This option is ignored unless -rpcallowip is also passed. Port is
       optional and overrides -rpcport. Use [host]:port notation for
       IPv6. This option can be specified multiple times (default:
       127.0.0.1 and ::1 i.e., localhost)

```

You could then change the line in the configurartion file

```
rpcbind=squonk

```

Your extract from the log file omits the line before

```
Binding RPC on address 127.0.0.1 port 8332 failed.

```

But those few lines before the above may tell you about a more important problem that is the root cause of your difficulties.


---

