TsgcSTUNClient › Properties › Port
Listening port of the STUN server; defaults to 3478 as defined by RFC 5389.
property Port: Integer read GetPort write SetPort;
—
Set Port to the UDP or TCP port where the STUN server is listening. RFC 5389 reserves 3478 for UDP/TCP and 5349 for TLS. Change this value when connecting to a server that uses a non-default port.
oSTUN.Host := 'stun.sgcwebsockets.com';
oSTUN.Port := 3478;
oSTUN.SendRequest;