Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The wait operation timed out.) (Microsoft SQL Server, Error: 258)
The wait operation timed out
Please Login to see the rest of the answer
It is possible that your Database Server is not set up to accept the remote connection using TCP Provider, the Database server is only listening to local traffic or traffic coming from a Private Network Adapter. Remember if you intend to allow remote access to the Database Server that you have to take extra steps to secure the connection.