RPC services started at boot time with startup scripts run
on available ports above 32768. The rpcbind process
associates RPC program numbers with port numbers. The
rpcbind service must be running on the server system for
you to make RPC requests to the server. When an RPC service
starts at boot, it communicates the following information
to the rpcbind process:
The port with which it is associated
The RPC program number
If a client wants to make an RPC call to a given program
number, it must first contact the rpcbind service on the
server machine to obtain the port address before it can
send the RPC requests. If the RPC service has registered
its current port number with the rpcbind daemon during
startup, the current port number of the RPC service is
returned to the client. When you boot the Solaris 10 OS,
the /lib/svc/method/rpc-bind startup script initializes the
rpcbind service. The port number used by the rpcbind daemon
is listed in the /etc/inet/services file. After the system
starts up, the rpcbind daemon starts listening at port 111.
To view the port number and protocol, perform the command:
# grep rpcbind /etc/services
sunrpc 111/udp rpcbind
sunrpc 111/tcp rpcbind
No comments:
Post a Comment