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

后端 未结 8 993
不思量自难忘°
不思量自难忘° 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: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.

提交回复
热议问题