An Azure service that delivers high availability and network performance to applications.
Hi @Patel, Hitesh ,
The SQL server AG in Azure environment? An availability group requires a load balancer when the SQL Server instances are on Azure Virtual Machines. The load balancer stores the IP address for the availability group listener. If an availability group spans multiple regions, each region needs a load balancer. Refer to MS document Configure a load balancer for a SQL Server Always On availability group in Azure Virtual Machines.
If your AG in on-premises environment. Did you check whether the firewall block the connection? Try disable the firewall on both nodes. Did your listener using a static IP address and default port of 1433? Is this multi subnet cluster ?
If I misunderstood your issue, please let me know.
If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.