Subject | Re: [ib-support] IB connection string on Win98/Me |
---|---|
Author | Helen Borrie |
Post date | 2001-08-30T09:23:18Z |
At 08:10 AM 30-08-01 +0000, you wrote:
Use TCP/IP, viz
ServerName:d:\data\databases\mydb.gdb.
If you're not on a DNS-served network, ServerName can be anything you like (even "ServerName"!!) Just identify it to your clients by an entry in the file c:\Windows\HOSTS. If it doesn't exist, create it by copying the file Hosts.sam and renaming it HOSTS. All you need there is the IP address of the machine where the IB server program is running and the name you want to use for the server, e.g.
10.10.0.2 ServerName
Additionally, a TCP/IP client running on the same box as the server program can connect to LOCALHOST, which has the IP address 127.0.0.1 on all Intel machines. If it's not in HOSTS on that client, add it in:
127.0.0.1 LOCALHOST
rgds,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>Hi,UNC notation is only correct if your server is an NT server and ServerName is the network name for the server. NetBEUI won't find a server that's not an NT Server.
>
>If IB is installed under Windows 98 / Me, it seems that:
>
> \\ServerName\<FullPathToDB>
>
>is not a correct connection string.
Use TCP/IP, viz
ServerName:d:\data\databases\mydb.gdb.
If you're not on a DNS-served network, ServerName can be anything you like (even "ServerName"!!) Just identify it to your clients by an entry in the file c:\Windows\HOSTS. If it doesn't exist, create it by copying the file Hosts.sam and renaming it HOSTS. All you need there is the IP address of the machine where the IB server program is running and the name you want to use for the server, e.g.
10.10.0.2 ServerName
Additionally, a TCP/IP client running on the same box as the server program can connect to LOCALHOST, which has the IP address 127.0.0.1 on all Intel machines. If it's not in HOSTS on that client, add it in:
127.0.0.1 LOCALHOST
rgds,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________