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 http or https server

not sure if my understanding of servers is correct but when it comes to creating servers with Node, is there any point in using http anymore when https is more secure?

3 Answers

I would try to use https. You can get a free certificate for your server here https://letsencrypt.org/

Of course it is important. If you are passing around user/pass and any other kind of private info, it can be read like a book

ok so I should always use https? I shouldn't bother creating a server with http becauise it's unsecure?