SQL Server database mirroring server address connection error
<p>I'm configuring database mirroring using SQL Server. Two Windows Server 2008 R2 machines with SQL Server.</p>

<ol>
<li>Principal server - took full backup with transactional backup</li>
<li>Mirror server - restored back up with no recovery</li>
</ol>

<p>Configured the principal and mirror server details,</p>

<p><a href="https://i.stack.imgur.com/ediW1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ediW1.png" alt="enter image description here"></a></p>

<p>It is successful. </p>

<p><a href="https://i.stack.imgur.com/AOKLA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AOKLA.png" alt="enter image description here"></a></p>

<p>While starting the mirroring, I get the following error:</p>

<ol>
<li>I have enabled my ports in windows firewall.</li>
<li>I have changed my server network address but no results.</li>
<li>I have checked below queries to check the endpoint status all looks fine in both the servers,</li>
</ol>

<p>Query:</p>

<pre><code>SELECT type_desc, port 
FROM sys.tcp_endpoints

SELECT state_desc 
FROM sys.database_mirroring_endpoints

SELECT role 
FROM sys.database_mirroring_endpoints

SELECT 
    EP.name, SP.STATE,
    CONVERT(nvarchar(38), suser_name(SP.grantor_principal_id)) AS GRANTOR,
    SP.TYPE AS PERMISSION,
    CONVERT(nvarchar(46),suser_name(SP.grantee_principal_id)) AS GRANTEE
FROM 
    sys.server_permissions SP, sys.endpoints EP
WHERE 
    SP.major_id  = EP.endpoint_id
ORDER BY  
    Permission, grantor, grantee
</code></pre>

<p>Please anyone help me to get rid of this error.</p>