Technical data
11
Configuring the Portmapper
The Portmapper service eliminates the need to preconfigure all client and server
remote procedure call (RPC) applications with the port numbers they use. The
Portmapper ‘‘listens’’ at port 111 and maintains a database of registered server
programs, their unique program numbers, and assigned port numbers.
This chapter describes:
• How to configure the services that use RPC with information that the
Portmapper needs (Section 11.1)
• How to start up and shut down the Portmapper (Section 11.2)
• How to display Portmapper settings (Section 11.3)
For information about programming with the RPC application programming
interface (API), see the DIGITAL TCP/IP Services for OpenVMS ONC RPC
Programming manual.
11.1 Configuring Services to Use the Portmapper
You must run the Portmapper if you intend to use the following applications:
• MOUNT
• NFS Server
• PC-NFS
• Any customer-developed programs that use RPC
When you configure these services with TCPIP$CONFIG, you will be
automatically prompted to set up the Portmapper service. The Portmapper
service is then started when you start TCP/IP Services.
The SET SERVICE command configures the applications so they are known to
the Portmapper. To set RPC-related parameters, use the /RPC qualifier. Enter:
TCPIP> SET SERVICE service -
_TCPIP> /RPC=(PROGRAM_NUMBER=n, VERSION_NUMBER=(LOWEST=n, HIGHEST=n))
The TCPIP services that use the Portmapper have the following default values
for the /RPC qualifier:
Service
Default Program
Number
Default Lowest
Version Default Highest Version
MOUNT 100005 1 3
NFS Server 100003 2 3
Configuring the Portmapper 11–1