<p>When you restart, run <code>systemctl status bitcoind</code> and see if everything is fine. You can also run `$BITCOIN_HOME/</p>

CC BY-SA 4.0
2022-09-04T10:31:03.087Z
You seem to have forgotten to finish your answer ...?
tripleee
CC BY-SA 4.0
2022-04-02T17:27:00.047Z
2022-04-02T17:27:00.047Z
Davidson Souza
<p>I solved it by adding the following to the bincoin.conf:</p>
<pre><code>rpcbind=0.0.0.0
rpcport=8332
rpcallowip=192.168.0.1/255.255.255.0
</code></pre>

CC BY-SA 4.0
2022-04-07T08:00:47.423Z
2022-04-07T08:00:47.423Z
nemomaximus
<p>I have compiled and installed Bitcoin Core for the first time on Debian 11. Everything is up and running except that RPC port 8332 is not accessible after a reboot.</p>
<p>I get the following error running <code>bitcoin-cli getblockcount</code>:</p>
<p>error: timeout on transient error: Could not connect to the server 127.0.0.1:8332</p>
<p>If I then run <code>systemctl restart bitcoind</code> then everything works fine.</p>
<p>What could be wrong?</p>
<hr />
<p><code>systemctl status bitcoind</code> shows that it is up and running just fine after a reboot.</p>
<p>Look at this after the reboot:</p>
<pre><code>$ netstat -nap | grep bitcoin | grep LISTEN
tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      456/bitcoind        
tcp        0      0 127.0.0.1:8334          0.0.0.0:*               LISTEN      456/bitcoind        
tcp6       0      0 ::1:8332                :::*                    LISTEN      456/bitcoind        
tcp6       0      0 :::8333                 :::*                    LISTEN      456/bitcoind
</code></pre>
<p>And then after <code>systemctl restart bitcoind</code>:</p>
<pre><code>tcp        0      0 127.0.0.1:8332          0.0.0.0:*               LISTEN      532/bitcoind        
tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      532/bitcoind        
tcp        0      0 127.0.0.1:8334          0.0.0.0:*               LISTEN      532/bitcoind        
tcp6       0      0 ::1:8332                :::*                    LISTEN      532/bitcoind        
tcp6       0      0 :::8333                 :::*                    LISTEN      532/bitcoind    
</code></pre>
<p>For some reason the 8332 port is not opened on reboot.</p>

CC BY-SA 4.0
2022-04-04T16:01:24.820Z
Do you have a logfile configured? if so, does it show anything interesting?
RedGrittyBrick
<bitcoin-core><json-rpc>
RPC port 8332 not accessible after reboot
nemomaximus
# RPC port 8332 not accessible after reboot

(Asked by: username_0 on 2022-04-02)

I have compiled and installed Bitcoin Core for the first time on Debian 11. Everything is up and running except that RPC port 8332 is not accessible after a reboot.

I get the following error running `bitcoin-cli getblockcount`:

error: timeout on transient error: Could not connect to the server 127.0.0.1:8332

If I then run `systemctl restart bitcoind` then everything works fine.

What could be wrong?

---

`systemctl status bitcoind` shows that it is up and running just fine after a reboot.

Look at this after the reboot:

```
$ netstat -nap | grep bitcoin | grep LISTEN
tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      456/bitcoind        
tcp        0      0 127.0.0.1:8334          0.0.0.0:*               LISTEN      456/bitcoind        
tcp6       0      0 ::1:8332                :::*                    LISTEN      456/bitcoind        
tcp6       0      0 :::8333                 :::*                    LISTEN      456/bitcoind

```

And then after `systemctl restart bitcoind`:

```
tcp        0      0 127.0.0.1:8332          0.0.0.0:*               LISTEN      532/bitcoind        
tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      532/bitcoind        
tcp        0      0 127.0.0.1:8334          0.0.0.0:*               LISTEN      532/bitcoind        
tcp6       0      0 ::1:8332                :::*                    LISTEN      532/bitcoind        
tcp6       0      0 :::8333                 :::*                    LISTEN      532/bitcoind    

```

For some reason the 8332 port is not opened on reboot.

**Tags:** bitcoin-core, json-rpc

> **Comments:**
> **username_1**: Do you have a logfile configured? if so, does it show anything interesting?  

---

## 2 answers

### Answer by username_2 on 2022-04-02. Score: 0

When you restart, run `systemctl status bitcoind` and see if everything is fine. You can also run `$BITCOIN\_HOME/

> **Comments:**
> **username_3**: You seem to have forgotten to finish your answer ...?  

---

### Answer by username_0 on 2022-04-07. Score: 0

I solved it by adding the following to the bincoin.conf:

```
rpcbind=0.0.0.0
rpcport=8332
rpcallowip=192.168.0.1/255.255.255.0

```


---

