I followed the instructions on https://powerapps.microsoft.com/en-us/tutorials/connection-azure-sqldatabase/.
But I can't add that connection.
The SQL server name, database name, Username and Password are all correct.
I can connect to the database using Microsoft SQL Server Management Studio.
I get this error.
Microsoft SQL: 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.)
clientRequestId: 9e4922b0-301e-1096-b190-0dbdc9f2d44a
Session ID: 399822d6-4ea1-c9b1-20b3-0e841a3c58d9

Thanks.