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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

MySQL connection firewall whitelisting

Hi,

 

I need to connect Power BI to a MySQL database. I'm told the database is on a firewalled server so by default Power BI will be blocked from accessing the server. Please can you tell me what IP address / domain needs to be whitelisted on the firewall to enable access?

 

Thanks for your help,

 

CloudMonkey

3 REPLIES 3
steve_ewing
New Member

Since this is the top result on Google and there is no answer I'll necro the thread to add the link to MS Azure's ServiceTags.  They are the lists of IP addresses you need for each Azure service for each region.

https://www.microsoft.com/en-us/download/details.aspx?id=56519

Anonymous
Not applicable

Hi @Anonymous,

As far as I know, MySQL server listens on port 3306 by default, in your scenario, please open the port in firewall, and also add port number with server name(Servername:3306) to connect to MySQL in Power BI Desktop.

If the issue still occurs, please post full error message.

Reference:
How to Determine Which Port MySQL is Running On
Open Firewall Ports


Thanks,
Lydia Zhang

Hi, @Anonymous 

 

I'm having the same problem as @Anonymous , my company has a tightly-secured MySQL database on a server and only trusted connections from the Internet can be accepted. Your proposed solution doesn't mention IP ranges or hostnames that the Power BI service uses when connecting to a MySQL database, and of course I couldn't find anything online despite being a fairly reasonable question.

 

Where can we find the IP ranges or hostnames that Microsoft uses when connecting to an on-premise MySQL database from the Power BI Service? My data is hosted in Nortern Europe (Ireland), but info for other regions would also help.

 

Thanks!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.