I have two web applications that are both using the same ssl port number https://localhost:44300/
; which doesn't allow me to run both of them at once.
How can I change the port number for one of the web applications to use port number 44301
?
I right clicked on the project, then I clicked on the Web
tab but this will only allow me to change the http port and not the https port.
In Solution Explorer, click the name of the application. In the Properties pane, click the down-arrow beside Use dynamic ports and select False from the dropdown list. This will enable editing of the Port number property. In the Properties pane, click the text box beside Port number and type in a port number.
We know that ASP.NET Core Application runs under Kestrel Server with default port number http://localhost:5000.
To complement Dandy's answer comment, this is a picture of the section where you can make changes relating to the server/port you want to use for your app. You can also select if you want to use a local IIS server or a remote host.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With