You have this problem is mainly because your device and your development machine is not in the same LAN. check if it is. Make sure your computer and your device connected in the save LAN, everything will be ok.
After all ur devices connected to the same LAN. And if u are using Xcode.
npm start -- reset-cache
Then everything will be OK.