Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello everyone. I have an EC2 with Power BI and Gateway installed. I can access PostgreSQL on another EC2 with Power BI and create the dashboard. When I publish the gateway, I can't connect to the EC2 where PostgreSQL is located. If I have a local file like a CSV, the connection works. How do I solve this connection problem? The EC2s don't have internet access and to access the database you need a VPN.
Thanks for responding. The gateway is installed on EC2, which has access to PostgreSQL. The gateway is active and working. If I create a dashboard with a local file in CSV format, for example, the data is updated. When I create it using the IP of EC2, where PostgreSQL is located, PowerBI can connect. When I publish it, it cannot connect because it cannot find the IP. On EC2, I released ports 443, 5671, 5672, 9350, but it still does not connect through the gateway.
Hi @faelk8
In order for this to work and to refresh the data to your semantic model successfully, you will need to install a power PI gateway on the EC2 instance where the PostgreSQL is located, or on an EC2 instance where it can then access the PostgreSQL database. The requirements are either to open up firewall ports or to allow an outbound connection on port 443 for the gateway to work successfully.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
50 | |
31 | |
26 | |
26 | |
25 |
User | Count |
---|---|
61 | |
56 | |
33 | |
29 | |
26 |