4
votes

While working on Azure Durable, if I have to restart the service on my local. I get this error (snapshot) - "Port 7071 is unavailable. Close the porcess using that port or specify another port by using --port".

To get over this issue, I have to wait for a couple of minutes after I have stopped the service and then start it. In case it does not work, I will wait for another 2-3 minutes and try again. Although the workaround works on a consistent basis, it's still a pain.

Anyone knows of a better solution.

enter image description here

2

2 Answers

0
votes

October 19th 2018 (the month after original question posted) a fix was committed. https://github.com/Azure/azure-functions-core-tools/commit/b34b693ff6b031dffeb68fb01f6bdb47d963e18f

Original github issue : https://github.com/Azure/Azure-Functions/issues/1000

Seems the solution is to wait a moment between debug sessions.