“对等方重置连接"是什么意思?意思? [英] What does "connection reset by peer" mean?
问题描述
TCP 连接上的connection reset by peer"错误是什么意思?是致命错误还是只是通知或与网络故障有关?
What is the meaning of the "connection reset by peer" error on a TCP connection? Is it a fatal error or just a notification or related to the network failure?
推荐答案
这是致命的.远程服务器向您发送了一个 RST 数据包,这表明连接立即断开,而不是通常的握手.这绕过了正常的半关闭状态转换.我喜欢这个描述:
It's fatal. The remote server has sent you a RST packet, which indicates an immediate dropping of the connection, rather than the usual handshake. This bypasses the normal half-closed state transition. I like this description:
由对等方重置连接"是 TCP/IP 等价物,相当于将电话重新挂断.这比仅仅不回复而留下一个悬而未决更有礼貌.但这不是真正礼貌的 TCP/IP 对话者所期望的 FIN-ACK.
"Connection reset by peer" is the TCP/IP equivalent of slamming the phone back on the hook. It's more polite than merely not replying, leaving one hanging. But it's not the FIN-ACK expected of the truly polite TCP/IP converseur.
这篇关于“对等方重置连接"是什么意思?意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!