Possible to tell expo cli which network interface to use?

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?


Hey @awesomelabs,

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.

:point_right: I posted on stackoverflow for posterity. :point_left: