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

How Can i deploy a node.js app which listens to a particular ip in my personal windows hosting.

How can i deploy a node.js app which listens to a particular ip in my personal windows shared hosting.

Note : I have installed node and npm in my server and deployed a sample app which creates server and listens to some port. It didn't work.

Do i need some kind of framework for this. ?

1 Answer

jason chan
jason chan
31,009 Points

you can deploy your app to heroku for free

https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction

You have to push it github first. Then push it up to heroku. Just follow the directions.

Heroku provides url ending with their domain name. I want to host in my own domain so that i can have my own url.

Thanks for answering anyways.!