Reputation: 5468
With IIS Express 10 and Visual Studio 2015 I am able to set a Web API project to use SSL from the project properties window (F4) by setting SSL Enabled
to True
. By doing so, Visual Studio and IIS Express will generate a random port number and it will be displayed in SSL URL
field. Then I am able to launch the project with HTTPS protocol.
However, I need a specific SSL port for my project, then I tried different approaches:
applicationihost.config
file from .vs/config
folder for chaning the port numberProject Url
field from project properties tabBut unfortunately, none of them is working, in both case launching the project results in a "Site can't be reached" error.
Upvotes: 1
Views: 1175
Reputation: 128
Did you try using Port 443 (Standard SSL-Port) for HTTP use 80
Upvotes: 0