Hello,
I have a textbox in a application that I am using for valiadation, by connectiong to my ssh server and using the portforward function of the ssh.net class. Works great to portforward to my mysql server for textbox input validation (email). However I am getting this error "Forwarded port is already added to a different client." when I try to validate another string of input into my textbox?
The validation WPF app is designed to connect to ssh server>portforward> when LostFocus event happens (click away from textbox). It connects, checks for validation of email and then disconnects from port and ssh server which is stated to fire within the LostFocus event.
If you clear out text, write and fire the LostFocus event again you get "Forwarded port is already added to a different client." Any reason? I'll show my code if needed. Is the port forward not closing correctly? Do I need to create a new portforward connection everytime I connect?
Thanks,
Ben