Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript REST API Validation with Express The Importance of Data Validation Get Started with the Project

Absolutely baffled why I am getting Error: read ECONNRESET when trying a simple GET request

Long story short, I've already finished the FSJS Techdegree and before deploying my full stack app to Heroku / Netlify, I'm trying to get this project working locally on a new PC. For some reason, I cannot get the API running on this new computer. I've even gone back to the API validation course and when I try to make a simple GET request from the starter code, I am getting the Error: read ECONNRESET in the log in Postman. This is beyond frustrating because as mentioned, I had this working on an older computer. Google has not provided me much guidance on this as I know it isn't an issue with the code, but rather some sort of setting on my PC. Willing to provide any more information as necessary since I realize this is an awfully difficult issue to diagnose. Thanks so much.

1 Answer

Mark Westerweel
.a{fill-rule:evenodd;}techdegree seal-36
Mark Westerweel
Full Stack JavaScript Techdegree Graduate 22,337 Points

Error: read ECONNRESET is a problem in Node.js. There seesm to be something wrong yout TCP connection setup.

Can you share a code snippet, or error stack trace?

The other day I found an interesting post (had issues with a deprecated MongoDB version)