Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! 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!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.