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

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

    java.io.IOException: Connection reset by peer

    In my case, the problem was with PUT requests (GET and POST were passing successfully).

    Communication went through VPN tunnel and ssh connection. And there was a firewall with default restrictions on PUT requests... PUT requests haven't been passing throughout, to the server...

    Problem was solved after exception was added to the firewall for my IP address.

提交回复
热议问题