Home / Port numbers / Port 2049
Port 2049: NFS
Unix and Linux network file shares. Port 2049 uses TCP, UDP.
- Port
- 2049
- Commonly used for
- NFS
- Transport
- TCP, UDP
- Encrypted
- No (by default)
- Range
- User (registered) port, 1024 to 49151
- Our advice
- Keep it closed to the internet
- IANA registration
shilp(TCP, UDP)nfsNetwork File System - Sun Microsystems (TCP, UDP, SCTP)
Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.
What port 2049 is used for
Port 2049 is NFS, the Network File System, the usual way Unix and Linux machines mount each other's folders. NAS devices offer it alongside SMB, and it is common for sharing storage with virtual machine hosts.
Should port 2049 be open?
Classic NFS trusts the client's address and its claim about which user it is, with no password. An export that allows any address is readable by anyone who finds it. Keep NFS inside a trusted network or VPN and limit each export to the specific machines that need it.
Related ports
- Port 111 (rpcbind (portmapper)): tells clients which port an RPC service such as NFS is on
- Port 445 (SMB): Windows file and printer sharing
- Port 873 (rsync): the rsync file synchronisation service
See all port numbers for the full list and how ports, TCP and UDP work.
Previous: Port 1935 (RTMP) · Next: Port 2082 (cPanel (HTTP))