How do I quickly check SQL Server connectivity from SharePoint server? Well, you can use Telnet.
If your SQL Server listens on different port, change the default port 1433 accordingly.
Using PowerShell to test SQL server connectivity:
Or you can use PowerShell to check if SharePoint it able to connect with SQL Server:
telnet {SQL-Server-Name or IP} 1433
If your SQL Server listens on different port, change the default port 1433 accordingly.
Using PowerShell to test SQL server connectivity:
Or you can use PowerShell to check if SharePoint it able to connect with SQL Server:
(New-Object System.Net.Sockets.TCPClient("SQL-Server-Name",1433)).Connected