Bitcoin RPC ECONNREFUSED
Here is the solution that worked for me...


bictcoin.conf


txindex=1
server=1
rpcuser=username
rpcpassword=password
port=8444
rpcport=8332
rpcbind=127.0.0.1
rpcallowip=127.0.0.1


Bitcoin Daemon must be running
DOS CMD: netstat -a -n  must show listening for both ports 8444 and 8332


Good luck!