Subject Re: remote connection
Author Adam
Are you trying to set up 2 database servers? Because that is what you
have done.


--- In firebird-support@yahoogroups.com, "nihattunali65"
<ntunali@i...> wrote:
>
> System:
> two computer both of them win xp .
> ---------------
> network:
> 1-)192.168.1.140
> 2-)192.168.1.100
> ---------------
> 1. firebird version 1.5.3.4870 db server
> 2. firebird version 1.5.3.4870 db server
> ---------------
>
> Both of two computer Listening port 3050 and active
>
> Problem:
> isql or other tools (ibexpert,ems,etc) not connect to each other
>
> connection string for isql from 1. computer to 2.:
>
> connect '192.168.1.100/3050:c:\firebird_data\test1.fdb'
> user 'SYSDBA' password 'masterkey';
>
> message:
> Statement failed, SQLCODE = -902
>
> Unable to complete network request to host "192.168.1.100".
> -Failed to establish a connection.
> -unknown Win32 error 10060

Google "winsock 10060"

WSAETIMEDOUT: Connection timed out. A connection attempt failed
because the connected party did not properly respond after a period of
time, or the established connection failed because the connected host
has failed to respond.

In other words, you have a firewall blocking access. XP SP2 will need
to have an exception in its Firewall to allow you to connect to it.

The easiest test is

telnet 192.168.1.100 3050

If it says "connection refused" or something equally not good, then
you have a firewall issue.

> --------------
> Note:
> 2. c:\firebird_data (shared or unshared) not changed this problem
>

Never ever put your database file on a share! Never! I mean it. Dont.
It compromises your database security, and it doesn't achieve anything
anyway.

Adam