I'm trying to figure out the best workflow for producing an app I can have hosted on one of the various public Node environments. The sticking point seems to be that my app opens two ports: one for HTTP and another for WebSockets.
Here's the code which executes great on my own system, but runs into EADDRINUSE errors on hosted services. (NOTE: this is regardless of changes in port number)
CODE: http://pastebin.com/zjJKbj2U
QUESTION: Am I wrong in my approach of searching for a Node service that provides this ability, or should I be going about this in a different way?