if port 1433 is open, you are probably trying to connect to a named instance which requires Port 1434 on UDP to be open.
SQL Server 2022 - Unable to connect remotely via SMSS
I am currently experiencing an issue connecting to my SQL server via SMSS installed on a Windows 11 machine. I am able to both ping the IP and hostname of the SQL server and telnet to the machine on 1433. I have verified that TCP is enabled in the SQL server configuration. However when attempting to connect with SQL Studio receive the following error:
TITLE: Connect to Server
------------------------------
Cannot connect to <HOSTNAME>.
------------------------------
ADDITIONAL INFORMATION:
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) (Microsoft SQL Server, Error: 258)
For help, click: https://docs.microsoft.com/sql/relational-databases/errors-events/mssqlserver-258-database-engine-error
------------------------------
The wait operation timed out
------------------------------
BUTTONS:
OK
------------------------------
I have verified that locally on the SQL Server I am able to connect with SMSS without issue. I have attempted increasing the timeout for the connection and this did not help resolve the issue. This occurs if I am using Windows Auth or SQL Auth
Windows for business Windows Server User experience Other
SQL Server Other
2 answers
Sort by: Most helpful
-
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2024-02-06T23:09:17.5533333+00:00 -
ZoeHui-MSFT 41,491 Reputation points
2024-02-07T06:18:05.4766667+00:00 Hi @Derek Gilmore,
Timeout Settings
Adjust timeout settings to accommodate any network latency.
In addition, named instances use dynamic ports by default. You may need to change the firewall rule.
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.