Can't make network requests on iPhone on Android devices #3543
-
It works perfectly on my computer and even on the simulators. However, as soon as I make those same network requests on my iPhone for instance, I get messages like the following.
and
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
0.0.0.0 is an address on the machine calling that address. On your computer it works because you have the server running on the same computer. When you run on Android or iOS device, you don't have a server running on them, so it fails. Use the local IP of the computer instead, something like 192.168.1.XX |
Beta Was this translation helpful? Give feedback.
0.0.0.0 is an address on the machine calling that address.
On your computer it works because you have the server running on the same computer.
When you run on Android or iOS device, you don't have a server running on them, so it fails.
Use the local IP of the computer instead, something like 192.168.1.XX