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 Express Basics (2015) Getting Started with Express Your First Express App

I'm not running into the Express server

I cannot get a response from 3000 port.

3 Answers

Can you paste some code please?

Is app.listen(3000); correctly spelt? If not copy what I typed and paste it in.

Thanks, Ethan! I've made a mistake. I've put this on my localhost: localhost/3000 instead of localhost:3000 Now, everything's all right. I have a question if you don't mind. I don'd use Git for the moment. Is this ok? Thanks again!

When I took Express Basics course he had a git repo but never did commits or anything just follow along and you should be fine and if you do run into any issue you can always go to the "Download" tab and just download the git repo from there. Should be underneath the video box :)

Thanks Ethan!

I had written the code exactly the way you did in the video. Not able to figure out why my browser is still showing cannot GET /. I had also kill the browser by pressing ctrl + C.

You should add response.end() to end the request.