I tried to do some work with TCP on nodester a while back, I eventually got
it working but you have to change how you are doing the connections.
Since nodester uses subdomains to route traffic, you can not actually
connect directly to your application instance via a TCP connection. The
subdomain data is lost (it is converted to the IP address of the nodester
sever, where all apps are being hosted) and therefore nodester can not
route the connection directly to your application.
The workaround is this...
Have your TCP client send an a request to your app using HTTP protocol
(REST api type stuff), this will allow its request to be sent directly to
your app being hosted on nodester. The request should have the IP address
and port in which client wants to communicate. The server can then take
this information and then initiate a TCP connection with the client
(Basically the client and server have to switch rolls). Once the
connection is accepted on the client, you can communicate back and forth
with no problem.
In essence the client has to send the HTTP request, but then go into the
sever mode where it starts listening for incoming connection request. The
app hosted on nodester now acts as a client, and send connections request
to anyone who sends a request via HTTP... essentially making it a client
that connects to multiple severs...
I am not sure how clear that explanation actually is... hopefully it will
help you get everything up and running