Archived Forum Post

Index of archived forum posts

Question:

Multiple Simultaneous Connections to MySQL in Cloud through SSH Tunnel

Oct 04 '17 at 09:58

I am using Chilkat trial version now and I can't use more than one connection a time. I would like to know if the license fix that. I use chilkat to create an SSH tunnel to a MySQL connection in a cloud.


Answer

To use multiple connections with the same SshTunnel object instance, you would want to use dynamic port forwarding.
See https://www.example-code.com/csharp/sshTunnel_dpf.asp

When using dynamic port forwarding, the SshTunnel behaves as a SOCKS proxy. Therefore, you would connect to your database as if going through a SOCKS proxy on the local host..

PS> It's not a limitation of being in trial mode..