java.net.SocketException: Connection reset

Posted by Darryl on Stack Overflow See other posts from Stack Overflow or by Darryl
Published on 2008-09-15T13:36:42Z Indexed on 2010/03/29 12:13 UTC
Read the original article Hit count: 700

Filed under:
|
|

I am getting the following error trying to read from a socket. I'm doing a readInt() on that InputStream, and I am getting this error. Perusing the documentation this suggests that the client part of the connection closed the connection. In this scenario, I am the server.

I have access to the client log files and it is not closing the connection, and in fact its log files suggest I am closing the connection. So does anybody have an idea why this is happening? What else to check for? Does this arise when there are local resources that are perhaps reaching thresholds?

Many thanks, Darryl

© Stack Overflow or respective owner

Related posts about networking

Related posts about sockets