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

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.