FTPMonitor / Guides / FTP connection refused

FTP connection refused

Why FTP servers refuse connections and how to diagnose port, service, and firewall issues.

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.

Connection refused means the host responded but the FTP service is not accepting connections on that port.

This usually indicates the FTP service is down, the port is incorrect, or a firewall is actively rejecting the connection.

Common causes

  • FTP service is not running
  • Wrong port configured
  • Firewall rejecting inbound connections
  • Server moved FTP to a custom port

Fix checklist

  1. Confirm FTP service is running on the server.
  2. Verify the correct FTP port with the server administrator.
  3. Check firewall rules or security groups.
  4. Test connectivity from inside the same network.

Quick commands

nc -vz <host> 21
telnet <host> 21
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
  • ECONNREFUSED on port 21Why FTP port 21 returns connection refused, and how to isolate service-down vs firewall vs wrong host/port.
  • TCP connection failedGeneral TCP failure causes when connecting to FTP, FTPS, or SFTP services.
Diagnostics powered by FTPMonitor CLI