How to deploy a server script?

How do I deploy a TCP server written in Node.js that can scale?

  • I wrote a secure TCP server in Node.js which serves as a server for couple of android applications. The server maintains live TCP connections and delivers real time updates to the applications. I could deploy it on my personal hosting machine and it works fine. Are there any PaaS offerings to deploy a TCP server? (At least nodejitsu doesn't allow me to deploy a TCP server) If not how do I deploy my Node.js server to scale for more connections than a single server node can handle?

  • Answer:

Derek Chiang at Quora Visit the source

Was this solution helpful to you?

Other answers

Why are you using raw sockets on Node or for that matter Android. I would strongly suggest you switch to http://Socket.IO . It will make your life a lot easier.Try digital ocean for server hosting. I have been using it for over a year and it has served me well.

Sankar Manoj

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.