Unable to Access Expo React Native Project URL

I’ve set up my React Native project with Expo, but I’m having trouble accessing the project using the provided URL exp://10.88.0.4:8081. how can I access it on my expo go app

Try running the code with by adding the command to run your program into here (replace the python part), you have to set the port of your program to $PORT

previews = {
      enable = true;
      previews = {
        web = {
          command = ["python3" "-m" "http.server" "$PORT" "--bind" "0.0.0.0"];
          manager = "web";
        };
      };
    };

npx expo start --tunnel

use the --tunnel flag. It should help expose the url.

2 Likes

And then click the IDX menu on the left side panel, and on the bottom copy the url that matches the port that the client server is running on.

Thank you. it worked

Thank you. it worked.

3 Likes

Always brother. Just be careful, it’s powerful stuff.

1 Like

thank you it’s worked in new project, but do you know why is not worked when i import a project from github ?