LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

What are the port numbers for FTP?

FTP = ports 21 (control) and 20 (data), both TCP.

FTP = Ports 20 and 21 (TCP)

  • Port 21: Control channel (commands, authentication)
  • Port 20: Data channel (actual file transfers in active mode)

Memory tip: "21 = talk (control/commands), 20 = transfer (data)" - you connect on 21 first, then data flows on 20.

Security note: FTP sends credentials in plaintext. Use SFTP (over SSH, port 22) or FTPS instead.

Go deeper:

From Quiz: NETW1 / Transport Layer | Updated: Jul 05, 2026