Hello, I am getting TARGET_CONNECT_HOST_NOT_REACHABLE error while trying to test the proxy deployed to the emulator. This proxy is trying to hit an endpoint deployed to our internal network and I can successfully invoke the same endpoint natively from the host machine where emulator is running. I have tried to run the image manually with --network host option but VS Code won't recognize the container and is stuck is "Runtime is not up"
Thanks
Solved! Go to Solution.
I was able to get past this issue by providing the DNS entries manually before running the container. By default the container runs with a DNS value of 8.8.8.8 and therefore cannot resolve the internal hosts. I hope the documentation will be updated to reflect the issue and the resolution.
I was able to get past this issue by providing the DNS entries manually before running the container. By default the container runs with a DNS value of 8.8.8.8 and therefore cannot resolve the internal hosts. I hope the documentation will be updated to reflect the issue and the resolution.