Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,330 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to run my solution with multiple startup projects some of which are Azure Functions in .net 5.0
I get this error
Port 7071 is unavailable. Close the process using that port, or specify another port using --port [-p].
This is a known issue pre .net 5.0 and there are many suggested fixes but they do not work for for .net 5.0 Functions
@Dave Amour You could define different ports either by setting the Host.LocalHttpPort
property in local.settings.json or setting the command arguments in the debug configuration to start --port <port>
.