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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
_Jimmy21
New Member

Power BI desktop connection to PostgresSQL

I tried connecting my Microsoft Power BI desktop to my PostgreSQL 15 and this was the error message i got; "Unable to connect. We encountered an error while trying to connect. Details: 'An error happened while reading data from the provider: 'No connection could be made because the target machine actively refused it' ' ".

 All items are on my Mac laptop. I am wondering if it has to do with my Mac, or the PostgreSQL installation or....

1 REPLY 1
Anonymous
Not applicable

Hi @_Jimmy21,

What version of data driver are you used? Did this match with the remote data source that you try to connect? In addition, any specific policies or firewall rules than enabled on your device and the server that host the data source? They may also affect the data connections.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.