Setting the Service Name and Port Number - Windows NT

To set the service name and port number, modify the services file of the host server and clients (for Windows NT machines, the path is ../win/.../system32/drivers/etc/services, and for Windows 95 and Windows 98 clients, the path is /windows/services.

Incorrectly modifying the services file can prevent the system from operating properly. If you have any questions pertaining to the editing of this file, refer this task to a System Administrator or other equally-qualified person.

To set the service name and port number, do the following:

  1. Log in as System Administrator, then display the services file.

  2. Viewing the existing port numbers, select any number between 1024 and 16000 that is not already used.

  3. Using a text editor, add a line to the services file that defines the service name, port number, and any comments according to the following syntax:

    servicename portnumber # comments

  1. BASIS suggests the following entry, provided that the pro5srv service name and 1100 port number are not already used in the file:

    pro5srv 1100/tcp # PRO/5 file service