Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
Despite quite the troubleshooting online, I have not found a solution to the issue I have.
I store and retrieve my data from my postgres server hosted on the same machine I make my reports on. To connect, I use the localhost IP-address and the port number would be 5432 in this case. This works fine through the Power BI Desktop app. However, since I want to setup a scheduled refresh, I have to configure a connection through the online environment as well.
I downloaded the standard gateway and that - seemingly - works well. I can connect my local excel files without any hassle. The issue starts when I want to configure my postgres database server. The following error shows up:
"Failed to update data source credentials: An error happened while reading data from the provider: 'No connection could be made because the target machine actively refused it'"
Now I have tried turning off the firewall to see whether that was the issue; no luck there. I also checked my command prompt with the help of netstat -anb, which did show something that I thought might be the issue:
postgres seems to be listening on a different port than the one initialized in the configuration files and the port that it should be on, is occupied by a different program. However, Power BI Desktop can still connect to the database without any issue and svchost.exe seems to just be Windows' way of handling things on the back-end.
I have also granted access to other IP-addresses through the configuration files in my postgres folder hoping that that would help, but nothing seems to.
Anyone who might be able to assist me?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.