Subject Re: [IBO] Connecting a Windows Client To Linux Interbase Server
Author rdorado@nddc.edu.ph
> Try
>
> IBConnection.DataBaseName = ServerName:/directory/database.gdb
>
> All the string must be same the path in the server
>
> sugba:/mydirectory/databasename.gdb
>
> or
>
> sugba:/MYDIRECTORY/DATABASENAME.GDB
>
> Verify your conection IP and user permissions
>
> ********
>
> Tente cambiar su propriedad IBConnection.DataBaseName
>
> El camino deve exactamente igual a su estructura de directorio en el
> servidor, con letras maisc or minusc.
>
>
> > If
> > the problem is TCP related, you can test it using ping.
> >
> > Try (at console mode)
> > ping sugba
> > or
> > ping 192.168.1.3
> >
> > Next, you have to make shure the server responds on port 3050. Try telnet
> it on port 3050. If it can not connect at that port (it will not give any
> message if he can) you know the problem it's the port.
> >
> > Last, if "so far so well", you can have other problem on the server that
> other program is using port 3050.
> >
> >
> > Try rebooting the PC first. Your version of windows may only read this
> file
> > at boot-time.
> >
> > If that doesn't work change the second line to
> > 192.168.1.3 sugba
> >
> > Drop the rest of the line. I'm not sure that windows likes that.
> >
> > Allen.
> >
> >
> > >Hi People,
> > > I developed an application on a stand-alone PC using Dephi 3 and
> > >IBOjects to connect directly to Interbase. I am now porting my
> > >database to Linux with CS Interbase.
> > > I cannot get my Windows Client to connect to the DBMS in Linux. I
> > >read that all I have to do is put an entry in the Windows HOST file
> > >as follows eg.
> > > 127.0.01 localhost
> > > 192.168.1.3 sugba sugba.msugsc.edu.ph (private domain),
> > >
> > >but it is not working.
> > >
> > >I am getting this error: host sugba cannot be found
> > > unknown Win32 error 10061
> > >
> > > Thanks for the help it is much appreciated. My application is a
> > >student information system for our school.
> > >
> > >Rudy Dorado
> > >Gen Santos City, Philippines
> > >
> > >
> > >
I telnet sugba 3050 is this correct? How will I change the port in
conflict to do it succesfully? No connection. telnet sugba, telnet
192.168.1.3, etc no problem though. I login to the server using user
name SYSDBA and password masterkey which is root equivalent
in Linux.

I tried all those other suggested above. Still no go. I thought port
3050 is reserved for Interbase on the Linux server? I have this entry
in the services file of my Linux server which I think was appended
upon installing Interbase:

gds 3050/TCP

I am running the Interbase Windows server on my client Windows
PC since I develop the application most of the time on Windows
instead of the Interbase client. Could this also be the source of the
difficulty of connecting my Delphi application to my Interbase
database on Linux?

Thanks a lot,
Rudy Dorado
rudydorado@...
rdorado@...