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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Cesylyaa
Helper I
Helper I

Unable to pull data from Postgres Database

Hello,

I am trying to connect to a Postgres Database.
I keep getting this error: 

image.png

 



Please help.

 

 

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Cesylyaa 

 

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

 

Best Regards

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

rajendraongole1
Super User
Super User

Hi @Cesylyaa - it looks like the error message you're encountering suggests that Power BI is unable to connect to your PostgreSQL database due to a network-related issue. 

Ensure that PostgreSQL is configured to accept remote connections. You can check the postgresql.conf file for the listen_addresses setting (it should include the IP address of the server) and the pg_hba.conf file to ensure the correct client IP range is allowed.

Verify that you are using the correct ODBC driver version that matches your PostgreSQL server version. If not, try updating or reinstalling the driver.

 

Cross verify the username, passwrd database connections entered are correct 

ref: 

Ways to Fix Problems Connecting to the PostgreSQL Server - Sling Academy

PostgreSQL “Could not connect to server” Error: How to troubleshoot - IONOS

NpgSqlException "connected host failed to respond" · Issue #1548 · npgsql/npgsql · GitHub

How To Configure PostgreSQL to Allow Remote Connections – TecAdmin





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

Proud to be a Super User!





Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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