Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
While signing in to the on-premises data gateway, we get the below error
Network request returned unexpected error.
An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
Solved! Go to Solution.
Thank you for getting back Gilbert!
Yes, we did have internet access. However, some of the PowerBI URLs were being blocked by the firewall. That resolved the issue we were running into.
This link provides the list of URLs and porst
https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem
Can you please elaorate in details how did you solve your firewall issue?
On-premises data gateway installed correct;y. However, when we sign in we get the below error
Network request returned unexpected error.
An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
Thank you for getting back Gilbert!
Yes, we did have internet access. However, some of the PowerBI URLs were being blocked by the firewall. That resolved the issue we were running into.
This link provides the list of URLs and porst
https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem
Yes Gilbert. Thank you!
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 10 | |
| 10 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 41 | |
| 36 | |
| 34 | |
| 28 | |
| 20 |