Problem in running nodejs script in mininet host.

32 views
Skip to first unread message

Reshma Roy

unread,
May 4, 2016, 11:35:40 AM5/4/16
to nodejs
Hi,

I tries to run a nodejs code in a mininet host nodejs code.js and the error i gets is follows :
events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: connect ECONNREFUSED
    at errnoException (net.js:901:11)
    at Object.afterConnect [as oncomplete] (net.js:892:19)

Please help me to resolve this issue.

Zlatko

unread,
May 5, 2016, 9:45:12 AM5/5/16
to nodejs
You're obviously trying to connect somewhere where you don't have access - a wrong database config maybe? Or an external API? But it's imposible to say without seeing what are you deploying - more of the code. 
Reply all
Reply to author
Forward
0 new messages