I’ve had to make some changes on my machine to get different (docker) project to work, and I’ve now returned to my Expo project to find it no longer works.
expo start results with:
Opening DevTools in the browser... (press shift-d to disable) Starting Metro Bundler on port 19001. Watch mode is not supported in this environment debug Checking for a newer version of React Native debug Current version: 0.61.4 debug No release cache found debug No release cache found debug Checking for newer releases on GitHub debug No release cache found debug Saving W/"6d6386b01438c6ef0acd213d304b5839" to cache debug No release cache found debug No release cache found debug Latest release: 0.60.0 Tunnel ready. exp://172.28.215.116:19000
Devtools is unsuccessful in opening in the browser (
ERR_CONNECTION_REFUSED). and I’m unable to open in my device with a network timeout. I believe its an issue with how IP addresses are being handled. My Windows LAN address is 192.168.1.xx but Expo seems to be using my WSL ip address of 172.xx.xx.xx . Is it possible to set IP addresses manually within expo-cli?
I believe there is an issue with
expo diagnostics result
Expo CLI 3.13.1 environment info: System: OS: Linux 4.19 Ubuntu 18.04.4 LTS (Bionic Beaver) Shell: 5.4.2 - /usr/bin/zsh Binaries: Node: 12.16.0 - ~/.nvm/versions/node/v12.16.0/bin/node Yarn: 1.21.1 - /usr/bin/yarn npm: 6.13.4 - ~/.nvm/versions/node/v12.16.0/bin/npm npmPackages: @types/react: ^16.9.17 => 16.9.19 @types/react-native: ^0.60.30 => 0.60.31 expo: ^36.0.2 => 36.0.2 react: 16.9.0 => 16.9.0 react-native: https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz => 0.61.4 react-navigation: ^4.0.10 => 4.1.1 npmGlobalPackages: expo-cli: 3.13.1