Search code examples
azure-service-fabric-mesh

Get IP of application in local cluster


I followed Microsoft's tutorial and learned that I can run this command

az mesh gateway show --resource-group Mesh --name todolistappGateway

to find the IP address I need to call to access my application in the cloud. How do I find the IP I should call to access the instance of my application running in my local service fabric mesh cluster? If I start debugging in Visual Studio, it opens a browser which contains the IP I need but what is the correct way to find this?


Solution

  • docker inspect on the application container (not the reverse proxy) will give you the same IP address as what's being launched by Visual Studio but I'm still not certain that's the best way.