Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Node.js Basics (2014) Building a Command Line Application Handling Parsing and Status Code Errors

Error Message 'connect ECONNREFUSED' - Resolved

Am receiving error message 'connect ECONNREFUSED' when i issue the command 'node app.js'. Is this error related to program or treehouse server issue ?

My program was executing without any issue but past 1 hour this error mess is displayed..

LaVaughn Haynes
LaVaughn Haynes
12,397 Points

can you post the code from your app.js file?

1 Answer

Found out the issue. there was a typo error on the URL link. thank you :)

LaVaughn Haynes
LaVaughn Haynes
12,397 Points

No problem. That's what I was thinking the issue might be. I'm glad that you figured it out.