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 Making a GET Request with http

rigzin norboo
rigzin norboo
11,059 Points

Running 'node app.js on windows 7. GET Request with http is not working. error: Timeout

I am running node app.s on windows 7 platform. I have successfully installed node js on my pc. I think it is showing some error while connecting to internet. This may be due to some proxy issue(guessing) because i am facing same problem while connecting my git bash to github (i have setup my public key on my account). I am stuck on both the places. I have no idea what to do. Pls help me.

Hi rigzin,

Are you able to post the error message?

If it is a proxy issue, I likely won't be able to help, but any kind of error message will help the next person who is trying to figure this out.

Cheers

Ah, I see it now.

error: Timeout

I tried searching "node error timeout" but didn't see any promising results.

1 Answer

<p>I'm having the same 'timeout' problem with a mac</p>

Error: connect ETIMEDOUT

<p>I tried it in the mac console and it worked fine</p> <p>Seems like it was a problem with workspace</p>