androidreact-nativeexpo

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


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


Solution

  • 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