Shyamal Parikh
Shyamal Parikh

Reputation: 3068

Visual Studio 2017: Site not reachable

Am not able to run VS 2015 mvc project in VS 2017 successfully. It gives the following error in the output window and runs alright:

code:-32000 message:No script for id: 32

If say the MVC project url is set to something like: https://localhost:36725 . When navigating to the same url, it says This site can’t be reached. ERR_CONNECTION_RESET

Upvotes: 0

Views: 1334

Answers (1)

Jeff Woods
Jeff Woods

Reputation: 420

This is because the port number you specified for SSL is not in the range of 44300 to 44399 (i.e. the standard SSL 443 followed by any two digits). This is built into the default localhost certificates that Visual Studio will install for you as trusted root certs.

You can either change the port to be within this range (don't forget to create the virtual directory), or you can add an additional port for your desired port number using "netsh http add sslcert" from the command line.

See the solution with 200+ upvotes here:

SSL Connection / Connection Reset with IISExpress

Upvotes: 1

Related Questions