Getting Login Failed and TCP/IP Connection Error while connecting springboot with azure sql server from windows local machine

bina trivedi 1 Reputation point
2022-09-08T14:32:54.923+00:00

Application.Properties file created for connection with Azure SQL
239028-image.png

I got the following error while connecting with the azure SQL server
Error:239029-image.png

com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open server "example.com" requested by the login. The login failed
what is the possible solution for resolving this issue?

Azure SQL Database
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.