Subject | Re: [IBO] Connecting to a remote Firebird database using Stunnel on port 3051. |
---|---|
Author | Minoru Yoshida |
Post date | 2010-08-07T10:05:39Z |
Hi,
I tried Stunnel with FB2.5RC. it works fine :)
Stunnel Client:
..
[firebird]
accept = 3051
connect = Host_ip_address:443
..
Connection IBO code:
with IB_Connection1 do
begin
if Connected then Connected := false;
Protocol := cpTCP_IP;
Server := 'localhost/3051';
Path := 'aliasname';
Charset := 'charset';
UserName:='username';
Password:='password';
Connected := true;
end;
--
Thanks,
Minoru
"paul.coshott" <paul@...>
Thu, 05 Aug 2010 07:44:35 -0000 wrote:
I tried Stunnel with FB2.5RC. it works fine :)
Stunnel Client:
>stunnel 4.33 on x86-pc-mingw32-gnu with OpenSSL 1.0.0 29 Mar 2010stunnel.conf:
>Threading:WIN32 SSL:ENGINE Sockets:SELECT,IPv6
..
[firebird]
accept = 3051
connect = Host_ip_address:443
..
Connection IBO code:
with IB_Connection1 do
begin
if Connected then Connected := false;
Protocol := cpTCP_IP;
Server := 'localhost/3051';
Path := 'aliasname';
Charset := 'charset';
UserName:='username';
Password:='password';
Connected := true;
end;
--
Thanks,
Minoru
"paul.coshott" <paul@...>
Thu, 05 Aug 2010 07:44:35 -0000 wrote:
>Hi All,
>
>I have stunnel running on my system (on port 3051) to enable me to connect to
>a remote database.
>Using FenixSQL, I can connect, so I know that is working. Now I am trying to
>connect using IBObjects. Can anyone tell me what properties I need to set to
>connect to alias "sG5z7gQd3t" on port 3051?
>
>Thanks,
>Paul