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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Vtnnn0102
New Member

Trouble Connecting Power BI to PostgreSQL Database

Hello everyone,

I’m having trouble connecting Power BI to my company’s PostgreSQL database.

Here are the details:

Connection string:
jdbc:postgresql://dev-postgre05:54356/pbi

What I tried in Power BI:

Server: dev-postgre05

Server: dev-postgre05:54356

Server: dev-postgre05:54356/pbi

Database: pbi

 

But I always get the following error:

> “An error happened while reading data from provider. No connection could be made because the target machine actively refused it.”

 

Did I enter the server and database details incorrectly, or could something else be causing this issue?

Thanks in advance for your help!

1 ACCEPTED SOLUTION
GeraldGEmerick
Super User
Super User

@Vtnnn0102 Make sure that you are following the guidance here: Power Query PostgreSQL connector - Power Query | Microsoft Learn

 

If you aren't connecting locally, ensure that there is not a firewall causing trouble.

View solution in original post

4 REPLIES 4
v-lgarikapat
Community Support
Community Support

Hi @Vtnnn0102 ,

Thanks for reaching out to the Microsoft fabric community forum.

@GeraldGEmerick  Thanks for your prompt response.

@Vtnnn0102 

I wanted to follow up and confirm whether you’ve had the opportunity to review the information  provided by  @GeraldGEmerick  . If you have any questions or need further clarification, please don’t hesitate to reach out.

 

We appreciate your collaboration and support!

 

Best regards,
Lakshmi.

Hi @Vtnnn0102 ,

 

We’d like to confirm whether your issue has been successfully resolved. If you still have any questions or need further assistance, please don’t hesitate to reach out. We’re more than happy to continue supporting you.

We appreciate your engagement and thank you for being an active part of the community.


Best Regards,
Lakshmi.

Hi @Vtnnn0102 ,

 

We’d like to confirm whether your issue has been successfully resolved. If you still have any questions or need further assistance, please don’t hesitate to reach out. We’re more than happy to continue supporting you.

We appreciate your engagement and thank you for being an active part of the community.


Best Regards,
Lakshmi.

GeraldGEmerick
Super User
Super User

@Vtnnn0102 Make sure that you are following the guidance here: Power Query PostgreSQL connector - Power Query | Microsoft Learn

 

If you aren't connecting locally, ensure that there is not a firewall causing trouble.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.