FTP: Netout: Connection reset by peer

Posted on 2011-03-08
Last Modified: 2012-08-13
Does anyone know which end this is? I'm running a ftp batch command, and this error has started coming up, would that be my ISP or local?
Question by:Silas2
  • 5
  • 4
LVL 57

Expert Comment

ID: 35090398
Well, I doubt it would be your ISP.  However it could be the remote side.

I would assume you may see this message if there is a IDS/IPS that is configured to reject FTP requests.  In some instances it could be a firewall configured to reject FTP requests.

Author Comment

ID: 35094206
Sorry, excuse my ignorance (I'm dev not connectivity), what do you mean:
'Well, I doubt it would be your ISP.  However it could be the remote side'
the remote side is my ISP...isn't it?
LVL 57

Expert Comment

ID: 35094350
No, the remote side should be the FTP server.

Think of the Internet the same way you think of the telephone system.

You (your FTP client) is making a call to me (the FTP server), during the converstion I hang (Connection reset by peer ) up and you hear dial tone.  Although it is possible for the telephone company to cause the same situation, it is unlikely that they would and even more unlikley they would do it constantly.  It is more likely that I don't like something you are saying so I just hang up.

The same is true for the FTP process.  Although it is likely the your ISP could be doing something, it is more likely that something else is causing the problem.

Author Comment

ID: 35095621
But the isn't the ISP hosting the FTP server?
Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

LVL 57

Expert Comment

ID: 35095880
I don't know.  Are they?

That I can't answer.  It is possible.  Some FTP server are run by ISP's, but not all.

Just like in my phone system example, the telephone company does have phones, so if you were calling the telephone company and they were hanging up it would be the telephone company's issue.  However the telephone company does not have all the phones in the world.

I know the ISP my company uses does not host our FTP servers, we do.  I know the ISP I use for my home does not host my FTP server, I do.

Even if they are hosting it, it is possible that you have a firewall/router/ids/ips that is doing the reset.

Author Comment

ID: 35096289
Sorry, I thought it was a given that web hosting and ftp hosting came as a package.
But the nub of the question, with the error 'Netout: Connection reset by peer', could that be either end?
LVL 57

Accepted Solution

giltjr earned 250 total points
ID: 35097832
Well, web hosting and ftp hosting typically do come as a package.


1) No where did you mention that you were trying to ftp to a ftp server that is part of a web hosting package.
2) There are many companies that are not ISP's that provide web/ftp server hosting.
3) All that is posted in this question is the fact that you are receiving a connection reset by peer.

I know some of the experts here at EE are good, but I don't think any of them can read minds. : )

So, assuming your ISP is who you are getting your web/ftp hosting services from, then yes it could be the ISP end, but in the sense that it could be the web/ftp server that is causing the problem.

I will assume that you are running Windows some place.  Have you tried using the stanard FTP client that comes with Windows to try and connect to the FTP server?  If not, try it.

Are you getting this message when you try and connect on the command/control port (21) or when you are trying to do data tranfers (put, get, mput, mget, ls, dir)?

Author Comment

ID: 35127616
Thanks, its a client of mine,I just set up a batch to ftp some PDFs up to their remote ISP, which has been working for 1year+ , but it suddenly started throwing this error up, but they've gone quiet on the problem and sent me a I'll just give it a few days...after what you said I told them to contact the ISP so maybe it was that end.
The command is a 'put'.
LVL 57

Expert Comment

ID: 35127924
Thanks for the points.

If it is failing on the put, it is possible that you are using a client that uses active FTP data transfers and somebody has made a change to dis-allow that type of data transfers.

You may want to test using a client that does passive data transfers.  If that works, then see if your ftp client supports passive data transfers.

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now