aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 123 forks source link

Cannot run the .NET Core project in Visual studio 2017 RC when using a custom domain #958

Closed mikebagheri closed 7 years ago

mikebagheri commented 7 years ago

I have installed Visual Studio 2017 RC (15.0.26020) and created an ASP.NET Core Web Application (.NET Core) project from scratch. I modified the launchSettings file to use a custom domain name instead of localhost and also enabled SSL.

I successfully installed my certificate for the custom domain and also enabled SSL for IIS Express.

Now when I press F5 to run my web site, it fails.

untitled1

here is my launchSettings.json

{ "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { "applicationUrl": "http://my.domain.com/", "sslPort": 443 } }, "profiles": { "IIS Express": { "commandName": "IISExpress", "launchBrowser": true, "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } }, "SampleASPNETCoreWeb": { "commandName": "Project", "launchBrowser": true, "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, "applicationUrl": "http://localhost:51490" } } }

Any idea why this is happening?

This started to happen after I updated to 26020, In previous versions it was working fine.

mikebagheri commented 7 years ago

The problem was a simple networking issue. I fixed it and everything is working again normally.