When is “java.io.IOException:Connection reset by peer” thrown?

后端 未结 8 986
不思量自难忘°
不思量自难忘° 2020-12-08 13:00
ERROR GServerHandler  - java.io.IOException: Connection reset by peer
java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcher.read0(Native         


        
相关标签:
8条回答
  • 2020-12-08 13:31

    There are lot of factors , first see whether server returns the result, then check between server and client.

    rectify them from server side first,then check the writing condition between server and client !

    server side rectify the time outs between the datalayer and server from client side rectify the time out and number of available connections !

    0 讨论(0)
  • 2020-12-08 13:38

    java.io.IOException: Connection reset by peer

    The other side has abruptly aborted the connection in midst of a transaction. That can have many causes which are not controllable from the server side on. E.g. the enduser decided to shutdown the client or change the server abruptly while still interacting with your server, or the client program has crashed, or the enduser's internet connection went down, or the enduser's machine crashed, etc, etc.

    0 讨论(0)
提交回复
热议问题