How to handle listener failure in AG?
On Windows, the listener is a WSFC cluster resource with a dependency on the availability group. It is hosted by the current primary AG node and will move to other nodes of the cluster when the primary role switches, providing high availability.