File transfer and file sharing port numbers
By Liam CooperNovember 5, 2026Updated November 22, 2026IANA registry as updated October 27, 2026
In the IANA registry, FTP holds two numbers, ftp-data on 20 and ftp on 21, and its TLS forms hold 989 and 990. Port 69 is tftp, 137 to 139 are the NetBIOS services, 445 is microsoft-ds, 2049 is nfs and 3260 is iscsi-target. Counted by words in their names and labels, 82 service names on 80 numbers concern files or file transfer.
This article reads those entries as the registry records them. The registry says which name holds which number and on which transport; it says nothing about the software on a given network, and a server can be configured to listen anywhere.
The entries behind the familiar numbers
| Port | Service | Protocols | Label | Registered | Modified |
|---|---|---|---|---|---|
| 20 | ftp-data | TCPUDPSCTP | File Transfer [Default Data] | — | Feb 7, 2022 |
| 21 | ftp | TCPUDPSCTP | File Transfer Protocol [Control] | — | Feb 7, 2022 |
| 69 | tftp | TCPUDP | Trivial File Transfer | — | — |
| 115 | sftp | TCPUDP | Simple File Transfer Protocol | — | — |
| 137 | netbios-ns | TCPUDP | NETBIOS Name Service | — | — |
| 138 | netbios-dgm | TCPUDP | NETBIOS Datagram Service | — | — |
| 139 | netbios-ssn | TCPUDP | NETBIOS Session Service | — | — |
| 445 | microsoft-ds | TCPUDP | Microsoft-DS | — | — |
| 548 | afpovertcp | TCPUDP | AFP over TCP | — | — |
| 873 | rsync | TCPUDP | rsync | — | — |
| 989 | ftps-data | TCPUDP | ftp protocol, data, over TLS/SSL | — | — |
| 990 | ftps | TCPUDP | ftp protocol, control, over TLS/SSL | — | — |
| 2049 | nfs | TCPUDPSCTP | Network File System - Sun Microsystems | — | — |
| 3260 | iscsi-target | TCPUDP | iSCSI port | — | Aug 27, 2013 |
| 5445 | smbdirect | TCPSCTP | Server Message Block over Remote Direct Memory Access | Mar 15, 2012 | — |
| 9418 | git | TCPUDP | git pack transfer service | Sep 2005 | — |
| 20048 | mountd | TCPUDP | NFS mount protocol | Aug 9, 2010 | — |
Of these 17 entries, only three cite a document of their own: ftp on 21, nfs on 2049 and iscsi-target on 3260. The rest have a label and little else. Most carry no registration date either; the registry's dates run mainly from 2002 on. The exceptions in the table are git (September 2005), mountd (August 9, 2010) and smbdirect (March 15, 2012).
FTP and its TLS forms
FTP has separate numbers for control and data. ftp on 21 cites RFC 959, “File Transfer Protocol”, published in October 1985 and still listed as an Internet Standard. ftp-data on 20 sits directly below it. Both also carry an SCTP entry, and both show February 7, 2022 as their last change, the date on which many SCTP rows were edited to cite RFC 9260.
The TLS forms follow the same split, on 989 for data and 990 for control. Their labels read “ftp protocol, data, over TLS/SSL” and “ftp protocol, control, over TLS/SSL”, and neither row cites a document.
The name sftp needs a second look. The registry entry on 115 is labelled “Simple File Transfer Protocol”, an older protocol. The registry has no separate row for file transfer over SSH, whose only entry in this area is ssh on 22.
Every name that contains “ftp”
The letters “ftp” appear in 26 service names, and one of them is assigned on TCP alone.
| Port | Service | Protocols | Label | Registered |
|---|---|---|---|---|
| 20 | ftp-data | TCPUDPSCTP | File Transfer [Default Data] | — |
| 21 | ftp | TCPUDPSCTP | File Transfer Protocol [Control] | — |
| 69 | tftp | TCPUDP | Trivial File Transfer | — |
| 115 | sftp | TCPUDP | Simple File Transfer Protocol | — |
| 152 | bftp | TCPUDP | Background File Transfer Program | — |
| 215 | softpc | TCPUDP | Insignia Solutions | — |
| 247 | subntbcst-tftp | TCPUDP | SUBNTBCST_TFTP | — |
| 247 | subntbcst_tftp | TCPUDP | SUBNTBCST_TFTP | — |
| 349 | mftp | TCPUDP | mftp | — |
| 574 | ftp-agent | TCPUDP | FTP Software Agent System | — |
| 662 | pftp | TCPUDP | PFTP | — |
| 989 | ftps-data | TCPUDP | ftp protocol, data, over TLS/SSL | — |
| 990 | ftps | TCPUDP | ftp protocol, control, over TLS/SSL | — |
| 1758 | tftp-mcast | TCPUDP | tftp-mcast | — |
| 1818 | etftp | TCPUDP | Enhanced Trivial File Transfer Protocol | — |
| 2529 | utsftp | TCPUDP | UTS FTP | — |
| 2811 | gsiftp | TCPUDP | GSI FTP | — |
| 3305 | odette-ftp | TCPUDP | ODETTE-FTP | — |
| 3713 | tftps | TCPUDP | TFTP over TLS | Mar 2003 |
| 3920 | exasoftport1 | TCPUDP | Exasoft IP Port | Nov 2003 |
| 5402 | mftp | TCPUDP | OmniCast MFTP | — |
| 6619 | odette-ftps | TCPUDP | ODETTE-FTP over TLS/SSL | Mar 2006 |
| 6620 | kftp-data | TCPUDP | Kerberos V5 FTP Data | Aug 2005 |
| 6621 | kftp | TCPUDP | Kerberos V5 FTP Control | Aug 2005 |
| 6622 | mcftp | TCPUDP | Multicast FTP | Feb 2006 |
| 37601 | eftp | TCP | Epipole File Transfer Protocol | Nov 13, 2014 |
NetBIOS and port 445
The three NetBIOS names hold consecutive numbers: netbios-ns on 137 for the name service, netbios-dgm on 138 for datagrams and netbios-ssn on 139 for sessions. Each is assigned on both TCP and UDP. None has a date, a modification or a reference.
Port 445 is registered to microsoft-ds, labelled simply “Microsoft-DS”. The registry row does not spell out what the letters stand for and does not mention Server Message Block. That term appears in the label of smbdirect on 5445, “Server Message Block over Remote Direct Memory Access”, registered on March 15, 2012. It is assigned on TCP and SCTP, with the UDP number held as reserved, unlike the older entries in the table.
NFS and its helpers
Port 2049 carries two names: nfs, on TCP, UDP and SCTP, and shilp, on TCP and UDP, with no label. The nfs row cites RFC 5665. Its helper mountd, labelled “NFS mount protocol”, sits far away on 20048, and sunrpc is on 111. Not every number in this family belongs to it: 4045 is registered to npp, “Network Paging Protocol”. On 1110, TCP belongs to webadmstart and UDP to nfsd-keepalive, two unrelated names on one number.
Block storage
Storage over IP takes three numbers in the low User Ports: isns on 3205, fcip-port on 3225 and iscsi-target on 3260. All three cite an RFC, which sets them apart from the file protocols above. iscsi-target was last modified on August 27, 2013.
| RFC | Title | Published | Status | Later changes |
|---|---|---|---|---|
| RFC 959 | File Transfer Protocol | Oct 1985 | Internet Standard | updated by RFC 2228, RFC 2640, RFC 2773, RFC 3659 and 2 more |
| RFC 5665 | IANA Considerations for Remote Procedure Call (RPC) Network Identifiers and Universal Address Formats | Jan 2010 | Proposed Standard | — |
| RFC 7143 | Internet Small Computer System Interface (iSCSI) Protocol (Consolidated) | Apr 2014 | Proposed Standard | — |
| RFC 4171 | Internet Storage Name Service (iSNS) | Sep 2005 | Proposed Standard | — |
| RFC 3821 | Fibre Channel Over TCP/IP (FCIP) | Jul 2004 | Proposed Standard | updated by RFC 7146 |
When the file-related names arrived
Of the 82 matches, 38 have a registration date. The busiest year is 2006, with seven. Before 2011, one of 28 dated names took a single transport; from 2011 on, nine of 10 did.
Of the 80 numbers, 20 are System Ports. The range with the most matches is ports 2000–2999, with twelve, followed by ports 1024–1999 with ten and ports 4000–4999 with nine.
Numbers with no entry, and the rest of the list
Some numbers that come up around file sharing have no row at all: 6881 and 21027 carry no assignment. gnutella-svc does hold a number, 6346. Other entries are small and specific, such as afpovertcp on 548, “AFP over TCP”, rsync on 873 and git on 9418, “git pack transfer service”.
The match rule is simple: a name counts when it contains “ftp”, “nfs”, “smb” or “rsync”, or when its label has the word “file” or “files”, “filesystem”, “NFS”, “SMB” or “Server Message Block”. It catches backup and document services as well, so treat the total as an upper bound. To see this article's numbers side by side, open them in the port list check, or search ftp in the lookup.
Sources. IANA Service Name and Transport Protocol Port Number Registry, updated October 27, 2026 (CC0 1.0). RFC metadata (titles, dates, status) from the RFC Editor rfc-index.xml. Counts computed by knownports.online from the registry file; definitions on the sources page.