Answer the question
In order to leave comments, you need to log in
How to remove port number from project url?
The web application is launched at the address https://localhost:44327/abc - everything works correctly
The address is needed without specifying the port https://localhost/abc
I change the value of the "Project URL" field in the Web item from " https ://localhost:44327/abc " to " https://localhost/abc "
VS prompts to create a virtual directory, I agree
Run and nothing works
"Cannot display this page
•Make sure the web address https://localhost is correct •Find the
page using a search engine
•Refresh the page in a few minutes."
What is wrong and what needs to be done to make it work
Answer the question
In order to leave comments, you need to log in
Port 80 is used for the http protocol
443 port is used for the https protocol,
but the application does not start on it. a certificate is not bound to port 443
when installing IISExpress certifies with its self-signed certificate another segment of ports to the certificate (from 44300 to 44399)
And in order to add port 443 to them, you need to do what this guy described
https://benjii.me/2014/11 /run-iis-express-on-port-...
last item "Now using HTTPS and SSL"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question