Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

445
Visualizações
dotnet watch ignores portnumber launchsettings.json after upgrade to .NET 6
  1. When I run my ASP.NET Core (Blazor Server) app using Visual Studio, it listens on port 5003,
  2. when using dotnet watch --project app\App.csproj run, it listens on different port - 5001!

Here is my launchSettings.json

"App": {
  "commandName": "Project",
  "dotnetRunMessages": "true",
  "launchBrowser": true,
  "applicationUrl": "https://localhost:5003;http://localhost:5002",
  "environmentVariables": {
    "ASPNETCORE_ENVIRONMENT": "Development",
    "LocalUrl": "https://localhost:5003"
  }
}

Why the dotnet run starts on different port and how to make it to run on 5003?


Addional info:

The app was created in .NET 5 and the problem occured after upgraded the SDK and PackageReferences .NET 6,

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

It's a known bug in .NET 6, see:

  • https://github.com/dotnet/aspnetcore/issues/38397
  • https://github.com/dotnet/aspnetcore/issues/38408
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda