Guest User

Untitled

a guest
Mar 21st, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. var bitcoin = require('bitcoin');
  2. var client = new bitcoin.Client({
  3. host: 'localhost',
  4. port: 8332,
  5. user: 'Rohit',
  6. pass: '12345'
  7. });
  8.  
  9. Error occurs while I am running this code
  10.  
  11. { Error: connect ECONNREFUSED 127.0.0.1:8332
  12. at Object._errnoException (util.js:1022:11)
  13. at _exceptionWithHostPort (util.js:1044:20)
  14. at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
  15. code: 'ECONNREFUSED',
  16. errno: 'ECONNREFUSED',
  17. syscall: 'connect',
  18. address: '127.0.0.1',
  19. port: 8332 }
Add Comment
Please, Sign In to add comment