This is what happens after I run this command bitcoind --regtest --printtoconsole
, my guess is that it's something to do with bitcoin.conf
My bitcoin.conf file looks like this:
server=1
rpcuser=root
rpcpassword=password
rpcconnect=127.0.0.1
rpcport=8332
If you need more context, these are my other questions: trouble with bitcoin cli regtest and interacting with bitcoin over docker
bitcoin-cli -regtest getinfo error: couldn't connect to server: unknown (code -1) (make sure server is running and you are connecting to the correct RPC port)
– smatthewenglish Apr 19 '17 at 15:33bitcoin-cli -regtest getinfo
>>error: Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (/root/.bitcoin/bitcoin.conf)
– smatthewenglish Apr 19 '17 at 15:59