skclusive / Skclusive.Blazor.Samples

Skclusive.Blazor.Samples
https://skclusive.github.io/Skclusive.Blazor.Samples/FlightFinder/
MIT License
169 stars 50 forks source link

How to configure the Server to listen all IPs? #5

Closed ZedZipDev closed 4 years ago

ZedZipDev commented 4 years ago

I build a Blazor Server, run it on machine but it responds on localhost only, i.e. http://localhost:5000 but does not respond when I query it from an exrternal host http://myhostIP:5000 This myhostIP pinged ok. FW is off. In VS2019 in the project settings: App URL: https://localhost:5001;http://localhost:5000

How to configure Blazor Server to listen (all) hosts IP addresses using appsetings.json without hardcoding?

skclusive commented 4 years ago

I guess that might be due to the limitation of development server in VS2019. Recently i had published similar app to Azure without code or port changes.

skclusive commented 4 years ago

closing it. let me know if you need more details.