connetion reset by peer for the proxy server

hi
i am using sftp to upload a file to the proxy server.
i am getting "connetion reset by peer" error.
For the backend server i am able to login but for the proxy only i am getting this error. Can any one explain why it is coming.

No duplicate or cross-posting, read the rules.

Proceed here:

Thread closed.