WHATPORT(20) whatport.net WHATPORT(20)
20

FTP data

The data channel for classic active-mode FTP; the file bytes move here, not on 21.

TCP IANA registry

Description

An active-mode FTP server opens a connection from its own port 20 back to a client-chosen port to carry directory listings and file contents, while commands stay on port 21. Passive mode, which most modern clients and NATs use, abandons port 20 entirely for high ephemeral ports. On a scan you rarely see 20 listening; you see it in packet captures or firewall logs next to an FTP server. Seeing it at all means someone is running active-mode FTP, usually an old appliance or a batch file-transfer job.

Exposed to the internet?

Expose with care

Only meaningful alongside port 21, and it inherits FTP's cleartext problem unless the session negotiated TLS per RFC 4217.

Check it yourself

$ sudo tcpdump -ni any tcp port 20

See also

Seen this on your network? Beige Box scans your Wi-Fi and shows every open port on every device — and its Ports tool links straight back here.

Get Beige Box →

also available as JSON · Markdown

Corrections or a missing port? Reply @rimrocksystems.