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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
maheshrai
Regular Visitor

On-premises data gateway Sign-In issue

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)

 

 

1 ACCEPTED 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

 

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Can you please elaorate in details how did you solve your firewall issue?

maheshrai
Regular Visitor

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)

GilbertQ
Super User
Super User

Hi there

Are you able to connect to the internet from the PC where you have got the Gateway installed?

Also do you have the latest version installed?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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

 

Awesome so is it now all working?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Yes Gilbert. Thank you!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.