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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 35095621
But the isn't the ISP hosting the FTP server?
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

688 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