Page 1 of 1
A vps with node.js?
Posted: Sun Apr 08, 2012 2:56 pm
by Ark
Hello is it possible to install node.js on a vps? personally i don't have a vps a friend does. Also if I got a vps with node for example how to run an app? or the server.js file on it? As for how Halls teach it on localhost, you need to run the server.bat file in order to run it. Is it the same way with a vps?
sorry if the question is stupid I never had a vps D:
Although I also ask this because some vps with node.js already on it are like $20+ and I think there're some vps that are cheaper than that.
thanks!
Re: A vps with node.js?
Posted: Sun Apr 08, 2012 3:51 pm
by Chris
Well considering it's a virtual private server (VPS) you would be allowed to do whatever the hell you want with it.
Re: A vps with node.js?
Posted: Sun Apr 08, 2012 5:30 pm
by Ark
Coool!
Re: A vps with node.js?
Posted: Tue Apr 10, 2012 8:30 pm
by hallsofvallhalla
you just have it listen to the port available and have the clients connect to the server IP.
Re: A vps with node.js?
Posted: Wed Apr 11, 2012 3:06 am
by Jackolantern
Be careful about those $20 "node hosting" deals. Like most newer technologies, there are hosts trying to take advantage of the fact that many people are wanting hosting for something without really established prices. It happened with .NET, Ruby on Rails, and others. As was already touched on, the best thing to do is just get a VPS and install and run it yourself.
Re: A vps with node.js?
Posted: Wed Apr 11, 2012 5:32 pm
by Ark
But why? I thought would be good idea since I could to have like another server to host app.js files for other games to (well i've not even done my first one!

) and use its resources instead of the server which I host the client side.. (hope I explained correctly).
well is this a bad idea?
Re: A vps with node.js?
Posted: Thu Apr 12, 2012 12:45 am
by Jackolantern
You can break up multiple servers anyway you like. I was merely warning against "node hosting" as it stands right now because it is over-priced. Because it is hot right now and there are really no set prices, a "node VPS" costs around $20 - $90 from what I have seen, whereas if you got a basic VPS and installed node yourself, you would probably be paying about $7 - $40 for those same specs.
Re: A vps with node.js?
Posted: Thu Apr 12, 2012 1:42 pm
by hallsofvallhalla
you can host multiple nodes from one server using different ports as well but if they are really popular then the traffic may be an issue.