Bitcoin

Bitcoin-cli won’t connect to bitcoind and won’t be able to run any commands no matter what.

In the configuration server=1 daemon=1, bitcoind runs as user as well as bitcoin-cli, no special configuration. When I try to use bitcoin-cli it doesn’t connect to 127.0.0.1:8332. bitcoind is: It’s running well in sync with the tip. What’s the problem? Do I need to manually configure anything related to my firewall?

Full configuration:

proxy=127.0.0.1:9050
bind=127.0.0.1
listen=1
listenonion=1
server=1
daemon=1

./bitcoin-cli getblockchain

Produce

error: timeout on transient error: Could not connect to the server 127.0.0.1:8332 Make sure the bitcoind server is running and that you are connecting to the correct rpc port.

Related Articles

Back to top button