I am trying to follow the instructions in the following post: Check status of daemon

When I try to run bitcoin-cli getblockchaininfo I get the following error:

enter image description here

When I look for the configuration file. It looks like it is not even there.

I am on Windows.

  • 2
    Is bitcoind running?
    – Nick ODell
    Sep 4 '17 at 20:30
  • This was the problem. I had to start the daemon with bitcoind first, and then open a new cmd prompt to run bitcoin-cli get bloackchaininfo. Please put this as the answer so I can accept it.
    – ADH
    Sep 5 '17 at 11:43
  • it's "getblockchaininfo" not get blockchaininfo Jan 13 '18 at 18:33

You're getting this error because bitcoind isn't running. Once it is, it will create an authentication cookie, and bitcoin-cli will be able to connect.

To start bitcoind from cmd prompt, type:

cd C:/Program\ Files/Bitcoin/daemon/

Press enter, then type:


And press enter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.