IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Quickstart says use port 5002, but IIS Express doesn't allow that

Open korggy opened this issue 6 years ago • 3 comments

Hello, the quickstart Interactive Applications with ASP.NET Core says

Once you've created the project, configure the application to run on port 5002.

However, the mvc demo template is configured to use IIS Express, and IIS Express only allows SSL on ports 44300 through 44399 (see Handling URL Binding Failures in IIS Express). I spent an hour or so trying to get the mvc app to run on 5002 but eventually gave up and used 44327 which worked fine.

Also, the instructions in the quickstart don't specify whether to configure the app to run http or https on port 5002. Based on the rest of the quickstart I'm assuming it means https.

Recommend changing the quickstart template to use Kestrel or change the documentation to suggest https and a port in the 44300-44399 range.

korggy avatar Aug 31 '20 17:08 korggy

Thanks. I added a note to the docs.

leastprivilege avatar Sep 02 '20 08:09 leastprivilege

Same here.. lost a good amount of time because of this error.

I used another port and ran it in another VS instance.

MarvinZ avatar Nov 21 '20 00:11 MarvinZ

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Dec 05 '20 01:12 github-actions[bot]