i am trying to connect with Azure SQL database using SSMS but i am getting the bellow error message
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
We had enabled all the necessary ports also restart the SQL server, added client 'ip' in Azure firewall settings. previously we are able to connect but we changed the location of our Azure SQL server after that we are not able to connect but i can connect to another server which is located at the different location.
powershell -Command echo ((new-object Net.Sockets.TcpClient).Client.Connect('your-azure-database-server.database.windows.net', 1433)) 'success'
– Dan Guzman