Changing project port number in Visual Studio 2013

前端 未结 8 1835
别那么骄傲
别那么骄傲 2020-11-27 17:28

How can I change the project port number in Visual Studio 2013 ?
I\'m using ASP.Net and I need to change the port number while debugging in Visual Studio 2013.

8条回答
  •  臣服心动
    2020-11-27 17:55

    To specify a port for the ASP.NET Development Server

    • 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. Click outside of the Properties pane. This
      saves the property settings.

    • Each time you run a file-system Web site within Visual Web Developer, the ASP.NET Development Server will listen on the specified port.

    Hope this helps.

提交回复
热议问题