'What is causing connection reset in my tcp server?

This error can happen at anytime but the error message is not showing where it happens during runtime,

Error message

TCPServerhandler with the closing part

TCPServerHandler

TCPserverRun code

TCPServer



Solution 1:[1]

A connection reset occurs if the server tries to read or write data after the connection was closed by the client.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Florian