cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
agneum
Helper I
Helper I

Proper way to allow Power BI Gateway access to Database?

I have two VMs on my VNET in Azure. One of the servers hosts my Power BI Gateway, and the other one has a SQL server database.

What firewall ports do I need to open on the SQL Server Databse to allow the gateway to talk to it?

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

Hi @agneum ,

 

For communication to the SQL Server database engine and for intersite replication, you can use the default SQL Server port or specify custom ports:

 

1.Intersite communications use:

 

(1).SQL Server Service Broker, which defaults to port TCP 4022.

 

(2).SQL Server service, which defaults to port TCP 1433.

 

2.Intrasite communication between the SQL Server database engine and various Configuration Manager site system roles defaults to port TCP 1433.

 

3.Configuration Manager uses the same ports and protocols to communicate with each SQL Server Always On availability group replica that hosts the site database as if the replica was a standalone SQL Server instance.

 

When you use Azure and the site database is behind an internal or external load balancer, configure the following components:

 

1.Firewall exceptions on each replica

2.Load-balancing rules

 

Configure the following ports:

 

1.SQL over TCP: TCP 1433

2.SQL Server Service Broker: TCP 4022

3.Server Message Block (SMB): TCP 445

4.RPC Endpoint Mapper: TCP 135

 

For more information of ports of gateway and firewall, you can refer this documentation below:

Ports used for connections - Configuration Manager | Microsoft Learn

 

 

Hope this helps you.

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yinliw-msft
Community Support
Community Support

Hi @agneum ,

 

For communication to the SQL Server database engine and for intersite replication, you can use the default SQL Server port or specify custom ports:

 

1.Intersite communications use:

 

(1).SQL Server Service Broker, which defaults to port TCP 4022.

 

(2).SQL Server service, which defaults to port TCP 1433.

 

2.Intrasite communication between the SQL Server database engine and various Configuration Manager site system roles defaults to port TCP 1433.

 

3.Configuration Manager uses the same ports and protocols to communicate with each SQL Server Always On availability group replica that hosts the site database as if the replica was a standalone SQL Server instance.

 

When you use Azure and the site database is behind an internal or external load balancer, configure the following components:

 

1.Firewall exceptions on each replica

2.Load-balancing rules

 

Configure the following ports:

 

1.SQL over TCP: TCP 1433

2.SQL Server Service Broker: TCP 4022

3.Server Message Block (SMB): TCP 445

4.RPC Endpoint Mapper: TCP 135

 

For more information of ports of gateway and firewall, you can refer this documentation below:

Ports used for connections - Configuration Manager | Microsoft Learn

 

 

Hope this helps you.

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

dcrosseto
Resolver II
Resolver II

Hi @agneum,

When you say you have two VMs on your VNET, do you mean they are already connected (peering)?

There is a post from Microsoft detailing the whilelist of IPs for PBI Service, check here 

Hope it was helpful.

Regards,

Douglas.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors