Did you create the endpoints with CREATE ENDPOINT? Also, typically you arrange for permissions on the endpoints with certificates. Did you do that?
A connection timeout has occurred while attempting to establish a connection to availability replica
Hi all,
I setup a two node AlwaysOn AG in SQL 2019 Standard but the second node is not able to join the cluster. I checked the error logs and I saw this message: A connection timeout has occurred while attempting to establish a connection to availability replica 'server1\instance1' with id [xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx]. Either a networking or firewall issue exists, or the endpoint address provided for the replica is not the database mirroring endpoint of the host server instance.
The firewall allows the correct ports through. The SPNs have been setup correctly. I can ping both servers from each other successfully. I am using the same domain account on both servers. Any ideas?