문제

I am having a nightmare trying to run my application locally. Following various tutorials I set my project to SSL = True and updated the Project properties like so:

Project Properties

and

Web Properties

However when I run the project I get a message saying either the page cannot be displayed (IE) or the Webpage is not available (Chrome) both say ERR_CONNECTION_RESET.

I have looked at the application.config file under IIS Express in my user/document folder which show the following

applicaiton.config file

I can't see the website in any browser or page inspector.

Any advice would be greatly appreciated.

Cheers, Kevin.

도움이 되었습니까?

해결책

I think I have found the answer although I am not sure why it happened.

Reading up about IIS Express it seems SSL requires a port between 44300 and 44399.

For some reason VS2013, or at least my instance of it, defaulted to port 1881.

further information can be found here

to change the port my project was using a edited the IIS applicationhost.config located at C:\Users\YOUR_USER\Documents\IISExpress\config

screenshot

Hope this helps anyone who is having the same issue.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top