Failed to connect to localhost/127.0.0.1:5001 #16865
Unanswered
IliyanAng
asked this question in
Show and tell
Replies: 1 comment
-
Try 10.0.2.2:5001 https://developer.android.com/studio/run/emulator-networking#networkaddresses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is also a reference to issue:
#6705
Adding a solution here, as the previous issue report is locked.
When using Emulator to connect to localhost API running instance you can now take advantage of Visual Studio 2022 17.7+ dev tunnels and setup a publicly accessible tunnel from your local device. Copy and paste that url instead of the localhost and you should be all set.
Beta Was this translation helpful? Give feedback.
All reactions