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

Reggie Williams
STAFF
Reggie Williams
Treehouse Teacher

different error message

Im not getting the Address in use error when I follow the video step by step and when I use ps -aux the node app isn't coming up as one of the results. Here is my server code :

var http = require('http'); http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain'}); response.write("this is before the end\n"); response.end('Hello World\n'); response.write("this is after the end\n"); }).listen(3000); console.log(Server running at http://<workspace-url>/);

Matthew Caloger
Matthew Caloger
12,903 Points

Could you please provide the course lesson name?

Reggie Williams
Reggie Williams
Treehouse Teacher

its the create a simple server exercise in the build a dynamic Node.js course

Steven Parker
Steven Parker
231,269 Points

A link to the course is most helpful. I believe you're referring to Create a Simple Server.

And when posting code, always use the instructions for code formatting in the Markdown Cheatsheet pop-up below the "Add an Answer" area. :arrow_heading_down: Or watch this video on code formatting.

And to facilitate the most complete and accurate analysis, instead of posting the code make a snapshot of your workspace and post the link to it here.