Allow a home computer to connect to your Azure SQL server/database

When running Azure SQL, we can use the option Firewalls and virtual networks to configure how the DB administrator and applications will have access to the SQL server and databases. When trying to connect from home, in some cases (especially in DEV environments that you may not even be connected to the corporate network to test your code), you may want to allow your workstation to be able to connect. There are a couple of ways to connect your home computer to your Azure SQL server and database. The first one is by adding a client IP and use your public IP on the SQL server.

connect Azure SQL server

The second method is using SQL Management Studio on your workstation. Type the server name (make sure to use suffix .database.windows.net) and provide the credentials that you defined during SQL server creation. You will be prompt to authenticate on Microsoft Azure, and after the authentication is successful, a dialogue box to create a new firewall rule with your existing IP will be displayed. Just click OK, and that will grant you access to the feature above to connect to the SQL server.

connect Azure SQL server

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top