java.io.IOException: Connection reset by peer

/etc/sysctl.conf文件

net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_tw_recycle=0
net.ipv4.tcp_tw_reuse=1

sysctl -p

你可能感兴趣的:(java.io.IOException: Connection reset by peer)