Failed to bind to address (already in use) error with Visual Studio Mac API

后端 未结 7 1755
隐瞒了意图╮
隐瞒了意图╮ 2021-01-21 03:34

I\'m attempting to create a Web API via .Net Core. I\'m just using the boilerplate ValuesController as a Hello World. When I run the project, I get the following error:

7条回答
  •  伪装坚强ぢ
    2021-01-21 03:59

    The port 5001 has already used in your system.

    Windows, use task manager to kill the processes "dotnet core host"

    Mac, force quit 'dotnet' in Activity Monitor app

提交回复
热议问题