I've downloaded the Bitcoin source code and compiled it successfully. I've now got Bitcoin-QT running and synchronising transactions. In the meantime, I thought I'd have a play with the cli but when I run bitcoin-cli on the command line (I'm running Windows 10 by the way), I get the following error:
error: Could not connect to the server 127.0.0.1:8332 (error code 1 - "EOF reached")
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
I'm not sure if I need to specify a port (if so, how?) or whether its because the bitcoin-qt is running and not bitcoind.exe? Or is there likely to be some other issue?
Thanks