Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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?
Solved! Go to Solution.
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.
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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
37 | |
30 | |
18 | |
14 | |
8 |
User | Count |
---|---|
49 | |
39 | |
32 | |
16 | |
14 |