asp.net core's default application using docker starts with two launch urls asp.net core's default application using docker starts with two launch urls docker docker

asp.net core's default application using docker starts with two launch urls


I was seeing the same issue after creating a new project and installing Docker for Windows with Visual Studio Community 2017.

It appears that the docker-compose Property Pages had a bad Service URL property, which in my case was generated as: http://localhost:{ServicePort}/https://localhost:44339/

To fix the issue:

  • Right-click the docker-compose project
  • Select Properties
  • Replace Service URL with: http://localhost:{ServicePort}