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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
VictorRayanF
Frequent Visitor

Error It's not possible to create connection - Power BI Service Data Gateway connection

I got this error: 

VictorRayanF_0-1683642332712.png

 This basically asks me to install the Npgsql, but I don't know if I do have to do it on the machine that has the Power BI Data Gateway or on the machine that has the Database.

I have the following scenarios: a server with non-exposed PostgreSQL Database, that is only able to make localhost connection or with SSH. I Have an intermadiate device such as Windows where I have the Power BI Data Gateway installed, so, I am making SSH connection between the Windows and the server which has the database, by forwarding the database port (25432) from there to my Windows machine, so in the Power BI Service I try to connect into this database by using the localhost:25432. Is there something wrong? Where (Which machine) Do I have to install this Npgsql? Is it really needed?

PS: In Power BI Desktop at the same Windows which has the Data Gateway, the connection works

 

1 REPLY 1
GilbertQ
Super User
Super User

Hi @VictorRayanF 

 

Yes you will need to install the Npgsql to connect to PostGreSQL

 

Also I would use the computer name or IP addres of your PostGreSQL database when creating the connection in the Data Gateway. I would also test this with Power BI Desktop to make sure it all works as expected.





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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors