The TCP (Transmission Control Protocol) socket is closed because the socket received a close command from a remote machine.The sent RST packets may indicate that the TCP packets sent are not recognized, a connection between the local and remote machine is broken, or a particular port is closed and is not allowing for communication. A Reset (RST) packet is received from a remote machine and interrupts the established connection.In other words an application protocol error. More commonly, it is caused by writing to a connection that the other end has already closed normally.The following are possible causes for the error: A reset packet is simply one with no payload and with the RST bit set in the TCP header flags.
TCP RST packet is that the remote side telling you the connection on which the previous TCP packet is sent is not recognized, maybe the connection has closed, maybe the port is not open, and something like these. For example, by quitting the browser before the reponse was retrieved.Ĭonnection reset simply means that a TCP RST was received. This SocketException occurs on the server side when the client closed the socket connection before the response could be returned over the socket.