Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var bitcoin = require('bitcoin');
- var client = new bitcoin.Client({
- host: 'localhost',
- port: 8332,
- user: 'Rohit',
- pass: '12345'
- });
- Error occurs while I am running this code
- { Error: connect ECONNREFUSED 127.0.0.1:8332
- at Object._errnoException (util.js:1022:11)
- at _exceptionWithHostPort (util.js:1044:20)
- at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
- code: 'ECONNREFUSED',
- errno: 'ECONNREFUSED',
- syscall: 'connect',
- address: '127.0.0.1',
- port: 8332 }
Add Comment
Please, Sign In to add comment