FTPMonitor / Guides / FTP port 21 blocked

FTP port 21 blocked

How to diagnose and fix firewall rules blocking FTP port 21.

Diagnose this automatically

Test whether the network port is reachable before investigating authentication problems.

terminal
npx ftpmonitor check --protocol ftp --host ftp.example.com --port 21
Shareable output
terminal
npx ftpmonitor check --protocol ftp --host ftp.example.com --port 21 --format slack --copy

Prefer the browser? Run the same check on the homepage.

Port 21 is the default FTP control port.

If blocked, clients cannot establish an FTP connection.

Common causes

  • Firewall rule blocking inbound traffic
  • ISP blocking FTP ports
  • Server security group restrictions

Fix checklist

  1. Open port 21 in the firewall.
  2. Verify cloud security group rules.
  3. Check server listening ports.

Quick commands

nc -vz <host> 21
nmap -p 21 <host>
FTPMonitor Help

Still stuck? We can help diagnose and fix it.

Choose the level of help that matches the urgency. Never send passwords, private keys, or other secrets.

Fix Report
$49
A written diagnosis and recommended fix for one FTP, FTPS, or SFTP issue.
  • Written diagnosis
  • Recommended fix steps
  • Best for non-urgent issues
Recommended
Same-Day Help
$149
Priority troubleshooting for one active issue, with a clear same-day diagnosis and action plan.
  • Priority troubleshooting
  • Same-day diagnosis and action plan
  • Best for active business problems
Live Fix Call
$299
Live troubleshooting help for an urgent or unusually complex FTP, FTPS, or SFTP problem.
  • Live troubleshooting session
  • Best for urgent or complex failures
  • Scheduling coordinated after checkout
Related
Diagnostics powered by FTPMonitor CLI