I need to connect to the local tcp server with help of ngrok. I've tried to connect like this:
Socket _clientSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
_clientSocket.Connect(IPAddress.Parse("<int>.tcp.ngrok.io"), 10543); // Port of tcp tunnel
But there is the problem, that it is not connecting me.