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

后端 未结 12 1017
误落风尘
误落风尘 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:27

    In Asp.net core 2.0 WebApp, if you are using visual studio search LaunchSettings.json. I am adding my LaunchSettings.json, you can change port no as u can see.

提交回复
热议问题