Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

440
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!