A database mirroring connection error needs evidence from both ends of the connection. In a 2017 Azure case, the clue was a missing CONNECT permission on the endpoint. I tested the endpoint queries on SQL Server 2025 with a scratch endpoint, a grant, a deny and a stopped endpoint.
Mirroring Endpoint Permission: Fixing Connection Handshake Failed
A friend using certificates on workgroup machines saw Connection Handshake Failed on every mirroring login attempt. The witness ERRORLOG showed a missing mirroring endpoint permission, and one GRANT statement fixed it.





