WSL and Expo have stopped working

HI All,

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.


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:
      OS: Linux 4.19 Ubuntu 18.04.4 LTS (Bionic Beaver)
      Shell: 5.4.2 - /usr/bin/zsh
      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
      @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: => 0.61.4 
      react-navigation: ^4.0.10 => 4.1.1 
      expo-cli: 3.13.1

Newly expo init projects result in the same problem. Curiously, web builds of all projects will open in the browser, at ip I’m confused, but at lease I can work on my project in the browser.

same goes with me . i am able to run it in my broswer but not in emulator . is there any work around to make it work in the mobile emulator

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.