In the TCP socket development process, you want the extranet client to map to a locally-initiated TCP server, summarizing the local TCP port mapping extranet method:
1, open Ngrok after registered users, URL ngrok:https://www.ngrok.cc/
2, add a tunnel, select the free version can be. Specific ways to add: https://www.sunnyos.com/article-show-70.html
3. Start Ngrok Tunnel: Ngrok Reference: https://www.sunnyos.com/article-show-67.html
Download plugin, open the directory where the plug-in (shift+ right mouse button, choose to open Command Window here)
The sunny ClientID Tunnel ID is then executed, and the following results appear, indicating that the activation was successful.
4, OK, now let's test it.
Starting a local TCP server
Then create a client, enter host and port
If the hardware does not support domain access, view the IP address of the domain name
5, if the opening is not successful, check the computer's local port firewall is open, open mode:
Open Firewall--Advanced settings--Add inbound rules, new open ports
Finish the call.
Free Intranet-mapped extranet bindings, TCP port Forwarding (Windows)