Kestrel, IIS, IISHttpServer and HTTP sys | ASPNET Core Application Startup

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

Комментарии • 2

  • @RumianR
    @RumianR 2 года назад +1

    great explanation!
    One question I had was, how do you run method 1 kestrel on windows with port 443 or 80, I kept trying and getting exceptions about the socket not being allowed. Ideally I want to run kestrel on https port 443.

    • @hsc-pk
      @hsc-pk  2 года назад

      tried these settings in appsettings.json?
      "Kestrel": {
      "Endpoints": {
      "Http": {
      "Url": "localhost:80"
      },
      "Https": {
      "Url": "localhost:443"
      }
      }
      }