• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1826
  • Last Modified:

FTP: Netout: Connection reset by peer

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?
0
Silas2
Asked:
Silas2
  • 5
  • 4
1 Solution
 
giltjrCommented:
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.
0
 
Silas2Author Commented:
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?
0
 
giltjrCommented:
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.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Silas2Author Commented:
But the isn't the ISP hosting the FTP server?
0
 
giltjrCommented:
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.
0
 
Silas2Author Commented:
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?
0
 
giltjrCommented:
Well, web hosting and ftp hosting typically do come as a package.

However:

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)?
0
 
Silas2Author Commented:
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 cheque...so 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'.
0
 
giltjrCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now