Tcp retry count

Hi team,
I was wondering how many attempts will the tcp connector try before failing. We know it retries every 10 second but how many retires ?

When you say tcp connector can you be more specific as to what you mean (ie input/output)?

Output: we want to use Logstash to connect via a TCP port to a remote listening server, but when we restart the app on the remote server, Logstash seems to stop working (stops forwarding other feeds)