Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error connecting to server via TCP/IP

16 views
Skip to first unread message

Gordon Scrim

unread,
Oct 15, 2001, 6:48:39 PM10/15/01
to
Hi All,

I am wondering if anyone can shed some light on a problem one of our
customers is having. They are unable to connect to Interbase using
TCP/IP. The server is Win2K AS and Interbase is 5.6 When at the server
using the Communication Diagnostics the local server can be connected to
OK but if the remote server option is used the following output occurs.

Path Name = C:\WINNT\System32\gds32.dll
Size = 347136 Bytes
File Time = 20:56:00
File Date = 09/07/1999
Version = 5.6.0.29
This module has passed the version check.

Attempting to attach to 192.168.0.1:C:\Data\TestDB.gdb
An InterBase error has occurred while attaching.

Error - Unable to complete network request to host "192.168.0.1".
Failed to establish a connection.


I have tested the TCP/IP setup and all is working OK. The same error
occurs if I use the localhost address as well.

The strange this is that this server was working fine until it was
restarted yesterday for some reason. Of course no-one has touched
anything on the server that may effect IB!

Many thanks if someone could give me a few pointers as where to go next.


Regards,

Gordon Scrim
OzSoft Solutions Pty Ltd
www.ozsoft.com.au


Thomas Steinmaurer

unread,
Oct 15, 2001, 6:55:15 PM10/15/01
to
Gordon,

probably you haven't installed proper remote connection licenses on your
server and the "eval" license has expired :).

Best Regards
Thomas Steinmaurer
ICQ# 131829706
IB LogManager - The Logging Tool for Interbase/Firebird
http://www.iblogmanager.com
http://www.entwicklerforum.org - Forum von Entwickler für Entwickler

"Gordon Scrim" <gor...@ozsoft.com.au> schrieb im Newsbeitrag
news:3BCB67C6...@ozsoft.com.au...

Gordon Scrim

unread,
Oct 16, 2001, 5:59:49 PM10/16/01
to
Hi Thomas,

The IB installation is correctly licensed and does not use the eval license.
I have tested the id and key on another installation and it works fine. I
wondered if the user had stuffed around with the permissions that the IB
processes run under but of course the user hasn't touched that :).

Regards,

Gordon Scrim
OzSoft Solutions Pty Ltd
www.ozsoft.com.au

Valentin

unread,
Oct 17, 2001, 10:33:18 AM10/17/01
to
try to access server by it's NAME not by IP.
In IB docs is described that is necessary to use Server Name not IP

Leyne, Sean

unread,
Oct 17, 2001, 10:28:06 AM10/17/01
to Interbase Discusion Group

> try to access server by it's NAME not by IP.
> In IB docs is described that is necessary to use Server Name not IP

The use of an IP Address instead of an host/computer name is valid, and
supported by some TCP/IP stacks -- the documentation is showing it's age
in this respect.

For MS Win, versions with Winsock v2 all support the use of IP
Addresses.


Sean

John Peterson

unread,
Oct 17, 2001, 8:20:47 PM10/17/01
to inte...@mers.com
In my experience Win95 requires names, whereas NT and Win2K can use either
IP Add, or name.

HTH

John

> _______________________________________________
> Interbase mailing list
> Inte...@mers.com
> http://mers.com/mailman/listinfo/interbase
> InterBase Search Engine - http://www.mers.com/searchsite.html

Valentin

unread,
Oct 18, 2001, 7:25:34 AM10/18/01
to
Only if hosts names are describes in the file "HOST".
I had a similar problem with Win 2000 and resolve it with host names.


Ivan Prenosil

unread,
Oct 18, 2001, 8:30:19 AM10/18/01
to inte...@mers.com
> From: Leyne, Sean

> The use of an IP Address instead of an host/computer name is valid, and
> supported by some TCP/IP stacks -- the documentation is showing it's age
> in this respect.
>
> For MS Win, versions with Winsock v2 all support the use of IP
> Addresses.

I have tried several computers with WinNT and Win95, and all behaved
the same way - the connection (using IP address) was established,
but only after veeeery long time, so it is practically unusable.
Is there any way how to speed it up?

Ivan
http://www.volny.cz/iprenosil/interbase

Ivan Prenosil

unread,
Oct 18, 2001, 8:05:40 AM10/18/01
to inte...@mers.com
> From: John Peterson

> In my experience Win95 requires names, whereas NT and Win2K can use either
> IP Add, or name.

You can upgrade Win95 to use winsock 2, then it will "work" too.

Ivan
http://www.volny.cz/iprenosil/interbase

Henry FRANQUET

unread,
Oct 18, 2001, 10:22:22 AM10/18/01
to inte...@mers.com

Ivan Prenosil a écrit

may be you have no DNS server on the network ?:

> I have tried several computers with WinNT and Win95, and all behaved
> the same way - the connection (using IP address) was established,
> but only after veeeery long time, so it is practically unusable.
> Is there any way how to speed it up?
>
> Ivan
> http://www.volny.cz/iprenosil/interbase
>

Ivan Prenosil

unread,
Oct 19, 2001, 9:01:32 AM10/19/01
to inte...@mers.com
Are you saying I need DNS server when connecting using IP address ?
Anyway, yes, I have DNS server. Connecting with computer name is fast,
connecting with IP address is slow. What should I do
(I do not consider hardcoding ip-address/name in hosts file a solution).

Ivan
http://www.volny.cz/iprenosil/interbase

----------
> From: Henry FRANQUET

Valentin

unread,
Oct 19, 2001, 9:49:22 AM10/19/01
to
IB client and IB Server work more stable with addresses by names. In case
you restart Windows NT/ 2000 Routing Service (by some reason) or something
unusual, exist probability for IB crashing if connection is by IP.
This is my experience :)

Ivan Prenosil <pren...@ms.anet.cz> wrote in message
news:mailman.100349322...@mers.com...

Henry FRANQUET

unread,
Oct 20, 2001, 11:57:40 AM10/20/01
to inte...@mers.com
NO, just that I use either ip address an host name and it works fine (with
the same access time).

but when you connect to a server, if you have a DNS server, the first frame
is for the dns server to resolve the address and
perhaps it will take a long time if the adress is xxx.xxx.xxx.xxx because
the dns server add the domain name to that address to search for. Then the
client send a broadcast ARP trame to get the MAC address. The TCP connection
on port 3050 begin after

then you should try to connect after clearing the address of the dns server
on the client side. If it doesn't work, may be you have
problem with broadcast (some active element in network may filter
broadcoast)

Ivan Prenosil a écrit :

> Are you saying I need DNS server when connecting using IP address ?
> Anyway, yes, I have DNS server. Connecting with computer name is fast,
> connecting with IP address is slow. What should I do
> (I do not consider hardcoding ip-address/name in hosts file a solution).
>
> Ivan
> http://www.volny.cz/iprenosil/interbase
>
> ----------
> > From: Henry FRANQUET
> > Ivan Prenosil a écrit
> >
> > may be you have no DNS server on the network ?:
> >
> > > I have tried several computers with WinNT and Win95, and all behaved
> > > the same way - the connection (using IP address) was established,
> > > but only after veeeery long time, so it is practically unusable.
> > > Is there any way how to speed it up?
>

0 new messages