Should not be public

Port 21 — FTP control

The command channel for File Transfer Protocol: login, directory listing and transfer instructions.

Port
21
Service
FTP control
Protocol
TCP

Security guidance

Plain FTP is unencrypted and heavily scanned. Replace it with SFTP (port 22) or FTPS.

Test port 21 yourself

From your own machine, against any host (swap in your domain):

macOS / Linux — netcat

nc -vz example.com 21

Any OS — nmap

nmap -p 21 example.com

Windows — PowerShell

Test-NetConnection example.com -Port 21

open = a service answered on port 21; closed = the host replied but nothing is listening; filtered = a firewall silently dropped the probe. These test from your network — our port checker tests from the outside, the view that matters for security.

Is port 21 open on your server?

Test it from outside your network — the only view that matters.

Check port 21