In SQL Server Management Studio this error appears as:
"Cannot connect to <servername>."
"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server, Error: -2)"
From sqlcmd, possible timeout errors include:
"SQL Network Interfaces: Error Locating Server/Instance Specified"
"Sqlcmd: Error: Microsoft SQL Server Native Client : Client unable to establish connection."
"Sqlcmd: Error: Microsoft SQL Server Native Client : Login timeout expired."
"Could not open a connection to SQL Server"
"An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections."