REW

What Port Is TFTP Running On?

Published Aug 29, 2025 3 min read
On this page

What port is TFTP running on?

TFTP (Trivial File Transfer Protocol) primarily operates on UDP port 69.

Delving into TFTP and UDP port 69

  • TFTP is a streamlined, uncomplicated file transfer protocol designed to transfer files within local networks, according to UniNets. It's a connectionless protocol that leverages UDP (User Datagram Protocol), according to CBT Nuggets. The TFTP server listens on UDP port 69 for incoming read (RRQ) or write (WRQ) requests from clients. This initial request specifies the desired file, the transfer mode (e.g., netascii for text or octet for binary), and any optional parameters.
  • While the initial request is sent to UDP port 69, the subsequent data transfer doesn't occur over this port. Instead, TFTP utilizes ephemeral ports for the actual file transfer. Both the TFTP client and server choose random, high-numbered ports (also known as ephemeral ports) for the data exchange.
  • When a TFTP server grants a client's request, it allocates a new UDP port for the transfer and sends an acknowledgment packet to the client. TFTP utilizes a block-based transfer mechanism, sending data in blocks, typically 512 bytes in size. For each data block sent, the receiver must send a numbered acknowledgment packet to the sender before the next data block is transmitted. A data packet smaller than the block size signals the completion of the transfer.

Why TFTP uses UDP

TFTP uses UDP on port 69 because it was designed for simplicity and efficiency in transferring small files. UDP is connectionless, avoiding the overhead of connection setup and teardown, which makes transfers faster.

Common use cases

TFTP is often used within local networks for tasks where security isn't the primary concern. Common uses include:

  • Network Booting: Transferring boot files or operating system images to devices during startup.
  • Firmware Updates: Updating firmware on network devices.
  • Configuration Management: Transferring and backing up configuration files for network equipment.

TFTP vs. other file transfer protocols

Compared to FTP and SFTP, TFTP is simpler but lacks features and security.

Feature FTP TFTP SFTP
Transport Protocol TCP (reliable) UDP (unreliable, faster for small files) SSH (secure)
Security Supports authentication and encryption No built-in authentication or encryption Encrypts data in transit, supports user ID/password or SSH key authentication
Functionality Full file management (listing, renaming, deleting) Basic file transfers (read and write) Similar to FTP but with added security
Use Cases General purpose file transfers, large files Device bootstrapping, firmware updates, configuration transfers, small files in controlled environments Secure file transfers, often used over public networks

: Difference Between File Transfer Protocols

Security considerations

TFTP's lack of authentication and encryption makes it vulnerable, so it's not suitable for sensitive data over untrusted networks. Security measures are important, such as:

  • Restricting access to port 69 with firewalls.
  • Isolating the TFTP server on a separate network.
  • Monitoring TFTP traffic for threats.
  • Using more secure protocols like SFTP for sensitive data.

In conclusion

TFTP on UDP port 69 enables quick file transfers for tasks like network booting and device configuration in local networks. However, its lack of security means precautions must be taken.

Enjoyed this article? Share it with a friend.