Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
borys864
New Member

Ports needed to connect On-premises data gateway with Azure SQL server

Dear community

 

We are planning to run our Azure SQL server and access it in Power BI SaaS using On-premises data gateway

Power BI and On-premises data gateway are already setup and are servicing a number of on-prem SQL servers but now we want to try Azure SQL server. Due to restrictions our Azure SQL server is not publicly exposed and it we plan to put it behind VNET and only allow access to it from On-premises data gateway. Now question is what ports we need to open between On-premises data gateway and Azure SQL server?

Internally we have a vnet peering from on-prem to Azure but I need to know what ports are required for successful On-premises data gateway connection towards Azure SQL server.

1 ACCEPTED SOLUTION
v-saisrao-msft
Community Support
Community Support

Hi @borys864 

Thank you for reaching Microsoft forum community.

As per your query which Ports needed to connect On-premises data gateway with Azure SQL server 

To enable communication between the On-premises data gateway and your Azure SQL server when it is behind a VNET and not publicly exposed, you need to ensure that the appropriate network ports are open for the On-premises data gateway to connect to the Azure SQL server. 

Below are the key ports you need to open: 

  • TCP port 1433: This is the default port used by SQL Server, including Azure SQL Database. You'll need this port to be open between the On-premises data gateway and the Azure SQL server. 
  • TCP port 443: This port is used for HTTPS communication with the Power BI service. The On-premises data gateway needs to communicate with Power BI over HTTPS, and this port is essential for the gateway to interact with Power BI and send data securely. 

 

If this post clears your issue, please give us Kudos and consider marking Accepting it as a solution to guide other members in finding it more easily. 

View solution in original post

5 REPLIES 5
v-saisrao-msft
Community Support
Community Support

Hi @borys864 

Thank you for reaching Microsoft forum community.

As per your query which Ports needed to connect On-premises data gateway with Azure SQL server 

To enable communication between the On-premises data gateway and your Azure SQL server when it is behind a VNET and not publicly exposed, you need to ensure that the appropriate network ports are open for the On-premises data gateway to connect to the Azure SQL server. 

Below are the key ports you need to open: 

  • TCP port 1433: This is the default port used by SQL Server, including Azure SQL Database. You'll need this port to be open between the On-premises data gateway and the Azure SQL server. 
  • TCP port 443: This port is used for HTTPS communication with the Power BI service. The On-premises data gateway needs to communicate with Power BI over HTTPS, and this port is essential for the gateway to interact with Power BI and send data securely. 

 

If this post clears your issue, please give us Kudos and consider marking Accepting it as a solution to guide other members in finding it more easily. 

@v-saisrao-msft so between on-prem gateway and azure sql servier only one, 1433 port is needed? 

Thank you for your answer. As mentioned before on-prem gateway setup with power bi is already in place. 

Hi @borys864 

We greatly appreciate your efforts and addressing your concerns. Here is the breakdown of your points:
As you mentioned, the 1433 port is necessary between the on-prem gateway and Azure SQL Server because it facilitates communication with the Azure SQL Database.

GilbertQ
Super User
Super User

Hi @borys864 

 

Here is a way to configure access to azure sql server. VNET Data Gateway for Microsoft Power BI and SQL Server. | by Dileepa Mabulage | Medium





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I explicitly stated that we have On-premises data gateway. At the moment usage of PowerBI VNet Data Gateway is not an option. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.