Hi XYZ001,
As other post, please help to post more details for analysis.
Do you configure AlwaysOn Availability Group in a multi-subnet environment? If that is the case, please check the following things.
1. Make sure that you add the MultiSubnetFailover parameter and set it to true in the Additional Connection Parameters tab when connecting to DB server through SSMS by using Listener name. If you forget to pass in the MultiSubnetFailover parameter, it will
allow for a successful but delayed connection even if you increase connection time-out. For more details, please review this
blog.
2. When the application is unable to connect the DB server with listener name, the issue could occur when your application either uses a legacy data provider that does not support the new MultiSubnetFailover parameter, or is not configured to use this parameter.
Please use the following resolutions as applicable to your case, for more details, please review this
article.
To resolve this situation when the data providers support the MultiSubNetFailover parameter, add the MultiSubNetFailover parameter to your connection string, and set it to true.
To resolve this situation when your legacy clients cannot use the MultiSubnetFailover property, you can change the listeners RegisterAllProvidersIP value to 0.
3. If you have an active Transport Driver Interface (TDI) filter driver that is installed on the client application workstation, you may also get timeout error. For more details, please review this
KB article.
There is also a similar thread for your reference.
http://stackoverflow.com/questions/23416492/connection-timeouts-when-using-multisubnetfailover-true
Thanks,
Lydia