WHATPORT(4045) whatport.net WHATPORT(4045)
4045

NFS lock manager (lockd / NLM)

The NFS Network Lock Manager — a file server's advisory locking service, sitting next to NFS itself.

TCP UDP IANA registry

Description

NLM is the RPC service that grants advisory file and record locks for NFSv2 and NFSv3, since those protocols are stateless and cannot track locks themselves. Solaris and its descendants fix lockd on port 4045 on both TCP and UDP, and Linux registers nlockmgr on a dynamic port unless an administrator pins it (for example via lockd.port in nfs.conf). IANA's own name for 4045 is npp, Network Paging Protocol, which you will essentially never see; the lock manager is what scanners find. NFSv4 folds locking into the main protocol, so a host showing 4045 is serving NFSv3 or older.

Exposed to the internet?

Do not expose

It is an unauthenticated RPC service tied to a file server's guts, and the UDP side is spoofable — keep NFS and its lock manager on a trusted network.

Check it yourself

$ rpcinfo -p TARGET | grep -E 'nlockmgr|lockd'

See also

Seen this on your network? Beige Box scans your Wi-Fi and shows every open port on every device — and its Ports tool links straight back here.

Get Beige Box →

also available as JSON · Markdown

Corrections or a missing port? Reply @rimrocksystems.