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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
vivienv
New Member

Postgresql Remote Access - Define connexion

Hello Community,

 

I'm not computer engineer but spatial analyst.

I would like to understand how to parameter files like pghba.conf and which ip adress give in the connection settings in PowerBI desktop to connect to a distant PostgreSQL database located on another computer ?

 

For the moment I use IPV4 address from the distant computer :

vivienv_0-1652341340919.png

 

And I get the following message :

vivienv_1-1652341404109.png

 

Summary in english > Unable to read data - Timeout connection, no answer from the host

 

Thank you for your suggestions.

 

Vivien

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@vivienv , there few driver and setup issues can be there.

refer these docs, I usually refer these to fix the driver and ssl related issues 

 

https://community.powerbi.com/t5/Power-Query/Connecting-to-PostgresSQL-hosted-on-AWS-RDS/td-p/135666
https://dataintoresults.com/post/powerbi-and-postgresql-ssl-lets-encrypt-and-gateway/
https://niftit.com/connecting-power-bi-to-postgresql/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@vivienv , there few driver and setup issues can be there.

refer these docs, I usually refer these to fix the driver and ssl related issues 

 

https://community.powerbi.com/t5/Power-Query/Connecting-to-PostgresSQL-hosted-on-AWS-RDS/td-p/135666
https://dataintoresults.com/post/powerbi-and-postgresql-ssl-lets-encrypt-and-gateway/
https://niftit.com/connecting-power-bi-to-postgresql/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak,

 

Thanks you for these differents posts, I used this one > https://niftit.com/connecting-power-bi-to-postgresql/

It works great !

 

Maybe I would add that sometimes, the firewall could be at the origine of this Timeout expired error :

vivienv_0-1652431533130.png

Juste remove the firewall and it works 👍

Helpful resources

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

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.