BSD 4_3_Net_2 release
[unix-history] / usr / src / lib / librpc / man / man8 / portmap.8c
CommitLineData
af359dea
C
1.\" @(#)portmap.8c 2.2 88/08/03 4.0 RPCSRC; from 1.10 88/03/14 SMI
2.TH PORTMAP 8C "9 September 1987"
3.SH NAME
4portmap \- DARPA port to RPC program number mapper
5.SH SYNOPSIS
6.B /usr/etc/rpc.portmap
7.SH DESCRIPTION
8.IX "portmap command" "" "\fLportmap\fP \(em DARPA to RPC mapper"
9.IX DARPA "to RPC mapper \(em \fLportmap\fP"
10.B portmap
11is a server that converts
12.SM RPC
13program numbers into
14.SM DARPA
15protocol port numbers.
16It must be running in order to make
17.SM RPC
18calls.
19.LP
20When an
21.SM RPC
22server is started, it will tell
23.B portmap
24what port number it is listening to, and what
25.SM RPC
26program numbers it is prepared to serve.
27When a client wishes to make an
28.SM RPC
29call to a given program number,
30it will first contact
31.B portmap
32on the server machine to determine
33the port number where
34.SM RPC
35packets should be sent.
36.LP
37Normally, standard
38.SM RPC
39servers are started by
40.BR inetd (8C),
41so
42.B portmap
43must be started before
44.B inetd
45is invoked.
46.SH "SEE ALSO"
47.BR inetd.conf (5),
48.BR rpcinfo (8),
49.BR inetd (8)
50.SH BUGS
51If
52.B portmap
53crashes, all servers must be restarted.