|
This section documents the use of TCP/IP when connecting to a Pervasive PSQL server running on a Windows 32-bit server platform.
When Pervasive PSQL operates in a TCP/IP network, your client must be able to obtain the IP address of your Windows server from the name given to that server by your network administrator. There are two mechanisms that enable this address to name translation:
The following procedures show how to set up the IP address using each method.
When you use DNS, you specify settings that allow your computer to look up the address of the server in a database of servers. Your network administrator can provide the information you need to configure DNS.
To configure your clients to use DNS to resolve the server IP address:
For Windows 98/ME clients:
For clients on Windows 32-bit platforms:
The Hosts file is a way to manually enter a relationship between a name and an IP address. Use this method if DNS is not used in your organization.
To Edit the Hosts file on your Windows client
On Windows 32-bit platforms:\WINNT\SYSTEM32\DRIVERS\ETC\HOSTS
On Windows 98/ME:\WINDOWS\SYSTEM\DRIVERS\ETC\HOSTS
# the following is an example of a Hosts file entry
146.23.45.2 acctserver
The Windows Dial-Up Networking dialog box can display when a TCP/IP request is made to Windows. Usually, this is to make an Internet connection, but this feature can be an annoyance when using Pervasive applications and TCP/IP.
To Prevent the Dial-Up Networking Dialog Box from Displaying Automatically:
Note
While this stops the dialog box from displaying with Pervasive applications, this also has the side effect that other applications such as Internet browsers will no longer automatically spawn the Dial-Up Networking dialog box when a connection to the Internet is needed. In that case, you need to connect to the Internet manually using Dial-Up Networking.
According to Microsoft, the Connect to the Internet As Needed check box is designed to launch Dial-Up Networking whenever TCP/IP is used by an application, so this behavior is correct.
Most users should never have to use this procedure. This procedure should only be performed by a system administrator.
In normal TCP/IP operation, clients use a particular port number to communicate with servers. By default, Pervasive PSQL listens on port 1583. For TCP/IP to function properly, all clients and all servers must use the same port numbers.
Pervasive recommends that you do not modify the server listening port unless you have a conflict. If you do have a conflict, you can override the Pervasive PSQL port settings with an entry in the SERVICES file for each machine, client and server. The SERVICES file is located at:
For example, if you wanted to change the listening port to 80 for Pervasive PSQL, you would add the following entry in your SERVICES file:
After changing your server listening port, you must stop and restart your Pervasive PSQL engine for the changes to take effect. See the chapter Using Pervasive PSQL in Pervasive PSQL User's Guide.
|
Chapter contents
Prev topic: Using SPX to Connect to a NetWare Server
|