Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How can I change the port for a published Blazor Server project?

$
0
0

I published my Blazor project. Then when I run it from the command line via 'dotnet myapp.dll' it gives this error:

crit: Microsoft.AspNetCore.Server.Kestrel[0]Unable to start Kestrel. System.IO.IOException: Failed to bind to address http://127.0.0.1:5000: address already in use.

I have changed the port in the launchsettings.json but this is with no effect. It still uses the port 5000. Where can i change the port for the compiled blazor project?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>