'Will the "TargetConnectionErrorCount" be counted even if there are two servers in the target group and one cannot respond?

I want to ask the case:

I have 2 Webservers in 1 target group. I think that if the connection from ALB to only 1 between/among targets have something wrong, the TargetConnectionErrorCount will be count.

When testing, I make one of my webserver become can not connect (Request timed out) by changing the Security group. I think that TargetConnectionErrorCount will be counted here, but it not. I have to make all of my targets become unhealthy to see the TargetConnectionErrorCount be count (see the attached images)

Is it right that only when all the target servers in the target group healthcheck fail will the TargetConnectionErrorCount metrics be counted?

enter image description here

Thank you!



Sources

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

Source: Stack Overflow

Solution Source