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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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