services
file:
services
(4)
manual page for more information about this file.
services
file depends on the operating environment. For example, the UNIX services
file
is located at /etc/services
. The services
file
on Windows is typically located in the C:\Windows\System32\drivers\etc
directory.
services
file.
# The form for each entry is: # # <comments> # # Port Services telnet 23/tcp # Telnet service spawnport 4016/tcp # UNIX spawner port mktserve 4017/tcp # Server for Marketing & Sales server1 5011/tcp # SAS/SHARE server 1 sassrv2 5012/tcp # SAS/SHARE server 2 firewall 5010/tcp # Firewall machine port pipe1 5020/tcp # MP Connect pipe sea 5021/tcp biscuit # SAS/SHARE server 3 # A blank line goes here.
services
file.
If a blank line is not at the end of the file, the final line in the
file is not detected. For example, if you run a SAS script that contains
the name of the configured SAS/SHAREsea
,
this error message is displayed: Cannot find TCP service 'sea'
services
files must match the service's port number exactly. Port numbers 0 through 1023
are reserved for system use. Port numbers
that are greater than 1023 are available for user-created services.
udp
and tcp
are
examples of protocol names.
sea
and
another application can refer to the same server as biscuit
.
services
file
before the alias can be successfully used. For example, sea
and biscuit
must
be configured in the services
file
of each client and server that will use the alias.