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=passwordhttps://ift.tt/2xwp3VE
Comments
Post a Comment