TCP/IP Configuration and Management Manual
Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual—427132-004
3-40
Configuration Files for the Internet Environment
Each entry specifies a service name, the port number through which that service is
accessed, and the corresponding protocol which supports that service. You can use an
alias to identify the service.
PORTCONF File
The PORTCONF file specifies the ports that the LISTNER process listens to and the
corresponding server program it invokes when the request comes in. You do not need
to alter this file.
Example 3-20 shows the PORTCONF file.
The FTP, ECHO, FINGER and SMTP servers are not running all the time. The
LISTNER process starts these servers when a request comes in from a client process.
This LISTNER process needs to know which ports to listen to; to do so, the LISTNER
process cross-references the information in the PORTCONF file and the SERVICES
file.
Example 3-19. SERVICES File
# Network services, Internet style
echo 7/udp
discard 9/udp sink null
systat 11/tcp
daytime 13/tcp
netstat 15/tcp
ftp-data 20/tcp
ftp 21/tcp
telnet 23/tcp
smtp 25/tcp mail
time 37/tcp timserver
time 37/udp timserver
name 42/udp nameserver
whois 43/tcp nicname
# usually to sri-nic
domain 53/udp
domain 53/tcp
hostnames 101/tcp hostname
# usually to sri-nic
sunrpc 111/udp
sunrpc 111/tcp
# Host specific functions
tftp 69/udp
rje 77/tcp
finger 79/tcp
Example 3-20. PORTCONF File
#
ftp $system.ztcpip.ftpserv
finger $system.ztcpip.fingserv
7 $system.ztcpip.echoserv