SunRPC website

RFC's

RFC1050 RPC Remote Procedure Call
RFC1057 RPC Remote Procedure Call Protocol Specification Version 2
RFC1831 RPC: Remote Procedure Call Protocol Specification Version 2
RFC1832 XDR: External Data Representation Standard
RFC1833 Binding Protocols for ONC RPC version 2

TCP and UDP Port Numbers

In theory RPC services can run on any TCP or UDP port, but are always uniquely identified by a program number. In practice some RPC services do have a standard port number. Portmap inevitableby has a standard portnumber (port 111) because you need to be able to contact the portmapper on a standard location in order to be able to lookup portnumbers for other services. But some other services do also have a de-facto standard portnumber, even if that is not strictly required (for example NFS on port 2.049).

Program Numbers

NumberServiceWell known implementationsWell known clients
76DIRDEMO
100.000PORTMAPPortmapper, sunrpc, rpcbindRpcinfo
100.001RSTATRstatdRup, perfmeter, rstat_svc
100.002RUSERSRusersdRusers
100.003NFSNfsd
100.005MOUNTMountdMount, showmount
100.007YPBIND
100.008WALLWalldRwall, shutdown, write all
100.009YPPASSWDYppasswdYppasswd
100.012SPRAYSpraydSpray
100.014IBM-RJE-MAPPER
100.015SELECTIONSlection_svc, selnsvc, selection service
100.017REXRexdRex
100.021NLOCKMGR
100.024STATrpc.statdStatus
100.026BOOTPARAM
100.068CALENDERMANAGERrpc.cmsd
100.083TOOLTALKrpc.ttdbserverd
100.221KCMSkcms_server
100.227NFS_ACL
100.232SADMINSadmind
100.235CACHEFS
100.301NIS-CACHE
100.302NIS-CALLBACK
150.001PCNFSPcnfsd
200.048SIM-STATSim.statd
300.019AUTOMOUNTAmdAmq
300.214FRAMEMAKER
300.516MCSERV
390.103NSRNsrd
390.104NSR-MMNsrmmd
390.105NSR-INDEXNsrindexd
390.107NSR-MM-DBNsrmmdbd
390.109NSR-STAT
390.110NSR-JB
390.113NSR-EXEC
391.002SGI_FAM
391.008SGI_ESPSgi_espd, espd
391.029SGI_RFIND
2.000.004
200.100.001NEXT-NETINFOBIND
200.100.002NEXT-RENDERRenderd
545.580.417BWNFSBWNFSD
600.100.029FREEBSD-DES
600.100.069YPXFRDFypxfrd, freedbsd-ypxfrd
1.073.741.824

Links

Wietse Veenema's Portmap replacement with tcp_wrapper support
Program Numbers
Genric SunRPC client
IANA SUN RPC NUMBERS
IETF ONC RPC Workgroup
ONC RPC voor Windows
ONC RPC Java implementation