ECONNREFUSED on learnyounode


#1

This question may belong to learnyounode.
program.js has one line; a “console.log” statement. The program runs then I get an ECONNREFUSED error
witcradg:~/workspace $ cat program.js
console.log(“running”);

witcradg:~/workspace $ learnyounode run program.js
running
✗ Error connecting to http://localhost:40506:
connect ECONNREFUSED 127.0.0.1:40506