Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recv failed:Connection reset by peer 1

Status
Not open for further replies.

DBrent

Technical User
Nov 18, 2003
1
GB
Can anyone tell me why I get the following message when running a rsh from dos to sunOS.. It seems to connect ok and hold the connection open of about 10 mins but then it bombs out with the above error message..

Is it something to do with inetd ??..

Any help would be most appreciated..
 
It is possible that some firewall or network component is killing your connection after 10 minutes. Check with your network admin. This happened to me every 30 minutes with ssh on a client's network.
 
Did you find a fix for this problem?

I'm encountering something similar. I get what looks like a timeout after a consistent 2 minutes and 4 seconds (an odd duration for a timeout if that's what it is!) Basically I'm using rsh in a DOS session to talk to UNIX and after this period I get "Recv failed:Connection reset by peer"

Any help appreciated

Thanks
 
Did anyone ever find a solution to this problem, as I've got the same thing happening here.

I'm using rsh from DOS onto either IRIX or RH Linux. If I just open a cmd shell and type in the rsh command directly, it works fine, but what I need to do is spawn the rsh from a Windows GUI, and when I do that I get the "> Recv failed:Connection reset by peer" message from rsh after about 1 minute and it exits with status=1.
 
I just found that using the -n option on the rsh command line from DOS causes this timeout, and if you don't use that option it doesn't time out !!!!

So it was actually nothing to do with my GUI program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top