User Tools

Site Tools


host_file_settings

This is an old revision of the document!


Windows host file

The Windows host file contains server name and IP address mappings for the local computer. Using a host file to configure computers on the network was important in the past but with the advent of inexpensive DNS and DHCP network appliances it is no longer necessary to use the hosts file. Windward System Five does not require any entries in the host file but there could be impacts to the Pervasive database engines if there are network misconfigurations. Incorrect configurations in the host file may prevent connections to your Pervasive server or between workstations running System Five.

Pervasive and System Five do not require entries in the hosts file unless directed by your IT Professional. The host file can be a tool to optimize network performance in the hands of a skilled IT Professional.

The host file by default is found at C:\WINDOWS\system32\drivers\etc . The file is named 'hosts' without an extension. Example 1 shows a sample of the host file with 2 entries. The localhost entry is present by default and the testserver was added for demonstration purposes.

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
192.168.1.100	testserver

Example 1 - Hosts file contents

host_file_settings.1281025682.txt.gz · Last modified: 2010/08/05 09:28 (14 years ago) by andrew