Port 2049: NFS

Port 2049 is NFS, the Network File System that lets Unix and Linux hosts mount a remote directory as if it were local. NFS traffic is unauthenticated by default, so it is normally restricted to trusted internal networks.

TCP/UDPCore servicesUnencrypted by defaultIANA assigned
Port number2049
ServiceNetwork File System
ProtocolTCP/UDP
CategoryCore services
Default encryptionNo
Security note. Port 2049 is not encrypted by default. Restrict it to trusted networks, or use an encrypted alternative where one exists, to avoid exposing credentials and data in transit.

Frequently asked questions

What is port 2049 used for?

Port 2049 is NFS, the Network File System that lets Unix and Linux hosts mount a remote directory as if it were local. NFS traffic is unauthenticated by default, so it is normally restricted to trusted internal networks.

Is port 2049 TCP or UDP?

Port 2049 (NFS) uses TCP/UDP.

Is port 2049 secure?

Port 2049 is not encrypted by default. Where possible, use an encrypted alternative or tunnel it over TLS or a VPN.

Should I open port 2049 on my firewall?

Only if you specifically need NFS. Expose it to the smallest set of trusted sources, and never open database or Windows-service ports to the whole internet.