DEV Community

Discussion on: .NET Core 3.1 Web API & Entity Framework Jumpstart - Part 1

Collapse
 
samselfridge profile image
samselfridge

Hey If anyone is getting the Kestrel error about https: "Unable to start Kestrel.
System.InvalidOperationException: Unable to configure HTTPS endpoint."

I addressed this by commenting out the "app.UseHttpsRedirection()" as mentioned but also had to remove "localhost:5001;" from the applicationUrl in launchSettings.json.

Seems to be working, if things start breaking I'll update this comment with any solution I find.

Collapse
 
_patrickgod profile image
Patrick God

Hi,
Thank you very much for sharing that! :)
Have a good one!
Patrick