FTP connection reset by peer
Why FTP connections reset unexpectedly and how to diagnose firewall or server termination issues.
Diagnose this automatically
Test whether the network port is reachable before investigating authentication problems.
Shareable output
Prefer the browser? Run the same check on the homepage.
Connection reset by peer means the remote server closed the connection unexpectedly.
This usually indicates server-side rejection, firewall interruption, or protocol mismatch.
Common causes
- Server terminated the connection
- Firewall or IDS dropped the connection
- Protocol mismatch (FTP vs FTPS)
- Idle timeout settings
Fix checklist
- Verify the correct protocol (FTP vs FTPS).
- Check firewall or security device logs.
- Confirm the server supports your client connection method.
- Try reconnecting using passive mode.
Related
- TCP connection failed — General TCP failure causes when connecting to FTP, FTPS, or SFTP services.
Diagnostics powered by FTPMonitor CLI