Bitcoin RPC connection refused

Bitcoin RPC connection refused
$ curl --user username:password --data-binary '{"jsonrpc":2.0, "id":1, "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/

response

Failed to connect to 127.0.0.1 port 8332: Connection refused

Here is my bitcoin.conf

listen=1
server=1
dbcache=50
daemon=1
testnet=1

rpcuser=username
rpcpassword=password
https://ift.tt/2xwp3VE

Comments

Popular posts from this blog

New z-enemy 1.26 Nvidia GPU Miner With Improved Performance

New coin daemon crashes ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)