Hi Sai-0641,
Welcome to Microsoft Q&A.
Please try to add the secondary replica’s static subnet IP address to the alwayson listener in the listener properties.
Please refer to this article and this similar thread which might help.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.