Mirroring sql server , how to change the port? I have two servers on the same cluster, in fact my goal is to set up "high availability", but the databases that I have integrated are not synchronized, so I think it is " mirroring "that I created but the port on which the two servers is not the same, I have a 1433 on the other and a 5022 on the other. what should i do ?
Just specify the port when you set it up

ALTER DATABASE &lt;DBNAME&gt; SET PARTNER = 'TCP://&lt;ServerName&gt;.&lt;Domain&gt;.com:5022'