Page 1 of 1

Help needed with port forwarding

Posted: Sun 19 Sep 2010 13:06
by zd
Hi!

I'm using Securebridge and IBDAC to connect to a Firebird 2.1 server.

Here is my setup:

I have two computers within the same wireless network.

Computer 1:
IP 192.168.1.104
SecureBridge SSH server component running on port 22
Firebird server running on port 3050

Computer 2:
SecureBridge SSH client connecting to SSH server on port 22
SecureBridge Port forwarding active with the following settings:
DestHost: 192.168.1.104
DestPort: 3050
SourcePort: 3050
and default settings.

Now when I try to connect to the database on 192.168.1.104 with IBDAC from Computer 2, I get the following error:
"Unable to complete network request to host: "192.168.1.104". Failed to estabilish a connection."

The SSH connection is created without problems, the tunneling is running and if I ping Computer1 from Computer2 everything is OK.

Computer1 has it's default Windows Firewall turned on, which is blocking port 3050, but I assume this should not be a problem, as data is coming in on port 22, right?

Thanks for your help!

Posted: Wed 22 Sep 2010 09:00
by Dimon
To solve the problem, you should set the TIBCConnection.Server property to 'localhost', to connect to the database via SSH tunnel.

Posted: Sat 30 Oct 2010 20:21
by zd
Thank you, this has solved the problem!