If you created the private endpoint already, you can create a private DNS zone for the endpoint or you can connect using the IP address. When you connect using SSMS instead of the Server Name provide the IP address, choose SQL Server Authentication, on the Login field provide the username@servername. Make a click on the Options button, and make sure there is a checkmark next to "Trust Server Certificate". Finally click on Connect.
Connect to Azure SQL Using IP Address
Handian Sudianto
6,541
Reputation points
Hello, I have private endpoint for my azure sql server, can we connect from on-prem using SSMS to the azure SQL by private IP Address?
Azure SQL Database
Azure SQL Database
An Azure relational database service.
Answer accepted by question author
-
Alberto Morillo 35,401 Reputation points MVP Volunteer Moderator2023-04-04T03:10:54.39+00:00
1 additional answer
Sort by: Most helpful
-
Dillon Silzer 60,701 Reputation points Volunteer Moderator2023-04-04T02:38:15.6233333+00:00 Hi Handian,
You can communicate to Azure resources on a private network by utilizing Azure VPN Gateway:
What is Azure VPN Gateway?
https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways
You can either set this up or use NSGs with inbound rules on specified ports for your on-prem Static IP address(es).
If this is helpful please accept answer.