客户端报:Connection reset by peer

客户端报:Connection reset by peer



node2:/root/test#python t17.py 
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
14600000
MTU: 1
Traceback (most recent call last):
  File "t17.py", line 31, in <module>
    s.send(c)
socket.error: [Errno 104] Connection reset by peer
node2:/root/test#
node2:/root/test#python t17.py 
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
14600000
MTU: 1
Traceback (most recent call last):
  File "t17.py", line 31, in <module>
    s.send(c)
socket.error: [Errno 104] Connection reset by peer
node2:/root/test#


12:41:40.887903 IP node1.webcache > node2.44684: Flags [.], ack 545868030, win 0, options [nop,nop,TS val 5325272 ecr 287540891], length 0
12:41:40.887991 IP node2.44684 > node1.webcache: Flags [.], ack 3545851204, win 0, options [nop,nop,TS val 287542582 ecr 5324119], length 0
12:41:41.486717 IP node2.44684 > node1.webcache: Flags [.], ack 3545851204, win 0, options [nop,nop,TS val 287543181 ecr 5324119], length 0
12:41:41.509261 IP node1.webcache > node2.44684: Flags [.], ack 545868030, win 0, options [nop,nop,TS val 5325893 ecr 287542582], length 0
12:41:43.038132 IP node1.webcache > node2.44684: Flags [R.], seq 3545851204, ack 545868030, win 770, options [nop,nop,TS val 5327423 ecr 287542582], length 0
12:41:43.149099 IP node2.44684 > node1.webcache: Flags [R.], seq 545868030, ack 3545851204, win 383, options [nop,nop,TS val 287544843 ecr 5325893], length 0


node1回了RST


原因服务端突然关闭
原文地址:https://www.cnblogs.com/hzcya1995/p/13348482.html