LinuxCommandLibrary

rpcbind

TLDR

Start rpcbind

$ sudo rpcbind
copy
Start in foreground
$ sudo rpcbind -f
copy
Debug mode
$ sudo rpcbind -d
copy
Check status
$ rpcinfo -p
copy

SYNOPSIS

rpcbind [options]

DESCRIPTION

rpcbind is the RPC port mapper daemon. It converts RPC program numbers to network addresses, enabling clients to find RPC services. Required for NFS and NIS.
Replacement for the older portmap daemon.

PARAMETERS

-d

Debug mode.
-f
Foreground.
-w
Warm start (restore state).
-l
Logging.
-h host
Bind to host.
-i interface
Bind to interface.

EXAMPLES

$ # Start service
sudo systemctl start rpcbind

# Check registered programs
rpcinfo -p

# Check specific host
rpcinfo -p hostname

# List NFS services
rpcinfo -p | grep nfs

# Debug mode
sudo rpcbind -df
copy

RPC INFO

$ # List all registered programs
rpcinfo -p localhost

# Test specific program
rpcinfo -u localhost nfs

# Show statistics
rpcinfo -m
copy

CAVEATS

Required for NFS. Security concerns - limit access with firewall. Port 111 TCP/UDP.

HISTORY

rpcbind replaces the older portmap from Sun RPC, providing improved security and IPv6 support.

SEE ALSO

rpcinfo(8), nfs(5), mount.nfs(8)

Copied to clipboard