Tuesday, 5 June 2018

Question about node and socket.io

I want to make servers behind a firewall able to host web server through relay.My plan is, when there are client, relay-server(accessible through IP) and another server(behind the firewall), server behind the firewall establishes connection to relay server through socket.io socket connection. But it(server behind the firewall) needs to know which port it is using for socket connection to bind the web server to the same port.How can I find local ip, local port, public ip and public port of client connection in socket io?

Submitted June 05, 2018 at 11:49AM by park0kyung0won

No comments:

Post a Comment