Fetch is throwing a Network request failed
error when I try to make a request to a local server. I'm pretty sure the request isn't getting out of the app. I've checked and double checked the request headers and target URL. I tried disabling CORS on my local server. I'm using digits in my app and digits is able to make contact with its server outside the app and return authorization.
Figured out the issue, because the android emulator runs in a VM localhost points at the device. You need to specify your ip or 10.0.2.2 instead.
Hi, how to specify the ip?
Where do we need to change the ip...?
Most helpful comment
Hi, how to specify the ip?