I just got started with Blazor, following Microsoft's Guide, but I need to allow outside access from http, so I can access it from <server-ip>:5000, as I am running a linux VPS that I don't have GUI access to. Is there any way to do this? (When creating my Blazor app, I left out the --no-https) Sorry if this is a dumb question. I looked it up on google and found nothing helpful to me. I get this: When I run dotnet run If you're wondering which version of Blazor I'm running (WASM or Server), I don't know. I'm just following Microsoft's guide.
<server-ip>:5000
--no-https
dotnet run
You'll have to set up the server to listen to other ip addresses than localhost (127.0.0.1). You can either give it a specific address or get it to listen to everything:
127.0.0.1
export ASPNETCORE_URLS="http://+:5000"
2.1m questions
2.1m answers
60 comments
57.0k users