How can i make a handshake between two clients using a relay server?

Maybe I don’t understand what you are trying to do but will this not work:

  1. Client A starts Listen server
  2. Listen server uses a STUN service to get the external IP and Port and reports it to the nodejs server.
  3. Client B gets the IP and port from the nodejs server and connects to the listen server
1 Like