I have VirtualBox and VMWare installed on my Windows 10 machine. They install virtual network adapters for use by their VMs.
When I fire up
expo start it seems to randomly pick one of these adapters instead of my wifi adapter. Thus, Expo Client can’t connect since it’s running on a different LAN.
Is it possible to tell Expo CLI which network to use?
You can set the
REACT_NATIVE_PACKAGER_HOSTNAME environment variable to override the IP address.
Thanks @adamjnav. I was also able to solve the issue going the other direction by telling Windows which network to hand off.
I posted on stackoverflow for posterity.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.