bitcoin core – RPC port 8332 not accessible after reboot – CoinNewsTrend

bitcoin core – RPC port 8332 not accessible after reboot


I’ve compiled and put in Bitcoin Core for the primary time on Debian 11. The whole lot is up and operating besides that RPC port 8332 shouldn’t be accessible after a reboot.

I get the next error operating bitcoin-cli getblockcount:

error: timeout on transient error: Couldn’t hook up with the server 127.0.0.1:8332

If I then run systemctl restart bitcoind then every part works superb.

What might be unsuitable?


systemctl standing bitcoind reveals that it’s up and operating simply superb after a reboot.

Take a 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

After which 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 motive the 8332 port shouldn’t be opened on reboot.



Supply hyperlink