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

Need help to recover blpckchain.info wallet, my wife forgot her password and the brute force with btcrecover is not catching the password

When downloading the blockchain my application is become unusable, is there an issue with my code or am I using the BitcoinJ library incorrectly?

Mistakenly sent BTC from my personal wallet back to one of the exchange wallet addresses that I had received BTC from before - help recovering!