Local Cosmos DB service unavailable
This issue usually happens when we have Pulse Secure installed, I have uninstalled Pulse Secure as it was no longer needed and that fixed the problem.

Related Post:
https://stackoverflow.com/questions/43569917/documentdb-emulator-not-working-service-unavailable?rq=1