Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the ssl port number for my asp.net mvc web application inside Visual Studio

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.

like image 596
John John Avatar asked Sep 02 '15 13:09

John John


People also ask

How can I change port number in ASP NET MVC?

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.

What is port number in asp net?

We know that ASP.NET Core Application runs under Kestrel Server with default port number http://localhost:5000.


1 Answers

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.

enter image description here

like image 91
gbdavid Avatar answered Sep 30 '22 02:09

gbdavid