Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(launchSettings): set sslPort to valid port for IIS Express #100

Merged
merged 1 commit into from
Jun 7, 2018

Conversation

seangwright
Copy link
Contributor

I've run into this issue several times on other ASP.NET Core projects.

Maybe an earlier version of the SDK scaffolded a project with the launchSettings.json using an invalid port for IIS Express?

In any case, according to dotnet/aspnetcore#2308 this must be true for HTTPS to work with IIS Express

    IIS Express HTTPS port must be in the range 44300-44399

The sslPort was set to 5001 which causes binding to fail when running the site behind IIS Express and debugging out of Visual Studio.

I changed it to 44333 and now you can press the green play button in VS for the IIS Express profile and everything launches and runs correctly.

@csharpfritz csharpfritz merged commit 41be1c3 into csharpfritz:dev Jun 7, 2018
@csharpfritz
Copy link
Owner

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants