.net core change default port 5000 code example Example: dotnet run on specific port dotnet run --urls=http://localhost:8080/