Expo error something went wrong could not load exp://127.0.0.1:19000
Asked Answered
I

4

7

I don't know what is wrong with expo it was working fine. Expo is not showing me my IP address so that I can connect expo client app with my PC by scanning QR code. I had tried many solution from internet but nothing works. Below is the images of my expo client error image and my browser image.

browser-picture

mobile-picture

Izanagi answered 11/12, 2019 at 8:4 Comment(1)
Hello and welcome to StackOverflow. Please take some time to read the help page, especially the sections named "What topics can I ask about here?" and "What types of questions should I avoid asking?". And more importantly, please read the Stack Overflow question checklist. You might also want to learn about Minimal, Complete, and Verifiable Examples.Bushelman
I
7

Thanks to everyone on stack overflow I solved my solution by myself. For others who find this error.

  1. your connection should be the same on your phone and on your PC.
  2. Internet connection your PC is connected to should have the firewall disabled.
  3. If still a problem you see something like exp:127..... You can change your lan address and you can see it using expo start --lan. And use this command to change your URL set REACT_NATIVE_PACKAGER_HOSTNAME=192.168.0.100 <- your ip address
Izanagi answered 15/12, 2019 at 13:34 Comment(1)
powershell: $Env:REACT_NATIVE_PACKAGER_HOSTNAME="192.168.0.100"Smithson
S
2

If you run :

npx expo start --tunnel

and doesn't work then first run this command in your command prompt:

npm install --global @expo/ngrok@^4.1.0

before starting your app again with:

npx expo start --tunnel
Stallings answered 17/1 at 13:51 Comment(0)
I
0

In my case nothing worked.. But When I try this https://docs.expo.dev/get-started/create-a-project/#open-the-app-on-your-device

npx expo start --tunnel

It worked. Hope it helps.

Intoxicant answered 16/4, 2023 at 3:36 Comment(0)
U
0

In my case, I recently installed an antivirus which setup firewall.

  1. Uninstall the antivirus
  2. Restart my system
  3. Restart the server

It works fine after that.

Univocal answered 10/10 at 19:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.