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 Build a Simple Dynamic Site with Node.js Creating a Simple Server in Node.js Preparing & Planning

Ginger Williams
Ginger Williams
6,409 Points

How does a node server work?

When I think of a server I envision hardware. What is a node 'server' and how does it work exactly?

3 Answers

Kevin Korte
Kevin Korte
28,148 Points

Denis is correct, a server that runs node, is still just a server. Node.js is just a "framework" written in javascript, that runs on physical hardware, to do server stuff.

Kenneth Kim
Kenneth Kim
3,795 Points

Just like what they said, a node server is just like any other regular server but is implemented using JavaScript. If your question concerns more about what a server is, basically it's something that is present in the back-end side of things which conducts a lot of processes involving several technologies that can send and receive information from a client. If you want to know more, there are a lot of resources that you can find in the web :)

Denis Udovcic
Denis Udovcic
13,649 Points

Node.js is not a server, imagine it just as an extension of Javascript to communicate with servers.