Changing project port number in Visual Studio 2013

前端 未结 8 1832
别那么骄傲
别那么骄傲 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 18:09

    Right click the web application and select "properties"

    There should be a 'Web' tab where http://localhost:XXXXX is specified - change the port number there and this will modify the configuration to use your new port number.

    I usually start at 10000 and increment by 1 for each web app, to attempt to steer well clear of other applications and port numbers.

提交回复
热议问题