web analytics

"This site can’t provide a secure connection" is shown when debugging a web application on IIS Express in Visual Studio

Options

codeling 1602 - 6666
@2021-11-13 14:30:51

I am getting the following error message when I try to run my web application using IIS Express in Visual Studio.

This site can’t provide a secure connection

localhost sent an invalid response.

  • Try running Windows Network Diagnostics.

ERR_SSL_PROTOCOL_ERROR

@2021-11-13 14:33:34

Try the following steps to get rid of the above error in Visual Studio.

1. You select "Properties" tab in Solution Explorer, copy the SSL URL.

2. You can right click your application in visual studio and click "Properties", then click "Web" tab and you can find "Project Url" input box. Change the url in this input box from original http://localhost:4561 to https://localhost:44362.

 

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com