How to change the port number for Asp.Net core app?

后端 未结 12 1009
误落风尘
误落风尘 2020-12-05 01:34

I added the following section in project.json.

  \"commands\": {
    \"run\": \"run server.urls=http://localhost:8082\",
    \"web\": \"Microsof         


        
12条回答
  •  时光说笑
    2020-12-05 02:23

    In visual studio 2017 we can change the port number from LaunchSetting.json

    In Properties-> LaunchSettings.json.

    Open LaunchSettings.json and change the Port Number.

    Change the port Number in json file

提交回复
热议问题