What does a TCP RST mean and when do you see it?
BeginnerConceptNetwork Models, TCP, UDP & Ports
Answer
RST abruptly aborts a connection. You see it when you connect to a port with no listener (the kernel answers SYN with RST, giving Connection refused), when a firewall or load balancer rejects or drops state, when an application closes a socket with unread data, or when an idle connection exceeds a middlebox timeout and the next packet arrives.
Connection reset by peer in app logs usually means the other side or something in the path sent RST.
More on Network Models, TCP, UDP & Ports
What are the layers of the OSI model, and why does a DevOps engineer care?BeginnerHow does the TCP/IP model map to the OSI model?BeginnerWhat is the difference between TCP and UDP?BeginnerDescribe the TCP three-way handshake.BeginnerHow does TCP close a connection, and what is TIME_WAIT?IntermediateWhat is a port, and what are well-known, registered and ephemeral ranges?Beginner