Reputation: 1
When using the npx expo start --lan
, it is not possible to log into the project either through QR or through exp://... . Through --tunnel
, the project is launched, but with restrictions or some kind of failures. If you run it via --localhost
, the project starts normally. Everything is also fine using the web version and the emulator.
I'm definitely on the same network, I don't use VPN. I rebuilt the project several times, checked dependencies and updated packages. I checked the proxy, DNS, firewall. I did a test empty project, it doesn't work either. Added ANDROID_HOME and JAVA_HOME to ~./bashrc.The operating system used by EndeavourOS. Here are the packages that I use:
- ─ @babel/[email protected]
- ├── @expo/[email protected]
- ├── @expo/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @gluestack-ui/[email protected]
- ├── @legendapp/[email protected]
- ├── @react-navigation/[email protected]
- ├── @react-navigation/[email protected]
- ├── @react-navigation/[email protected]
- ├── @types/[email protected]
- ├── @types/[email protected]
- ├── @types/[email protected]
- ├── @types/[email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Upvotes: 0
Views: 1058
Reputation: 1
After attempting to connect to Expo Go multiple times, I searched for alternatives. I found options such as connecting via USB and using flags like --localhost
and --tunnel
.
To connect to Expo Go, you must use
exp://${your_ip}:8081
I prefer using the Android Studio Virtual Machine or a USB connection.
Upvotes: 0
Reputation: 1
Open Firewall in your system off the public network and it we work
Upvotes: 0
Reputation: 1
java.io.IOException: Failed to download remote update
Error in Expo Go?Here’s a solution that worked for me:
--localhost
Start your project using the following command:
npx expo start --localhost
exp://<your-local-IP>:8081
Replace <your-local-IP>
with your machine's IP address (e.g., 192.168.x.x
).adb
(If Needed)If it still doesn’t work:
adb devices
adb reverse tcp:8081 tcp:8081
If all else fails, try using the --tunnel
flag:
npx expo start --tunnel
This method resolved the issue for me, and I hope it helps someone else struggling with the same problem! 🚀
Upvotes: -1
Reputation: 3
I faced the same issue, after rebooting the router, the problem was fixed. So reboot the router and try again.
Upvotes: 0
Reputation: 1
I noticed you're facing a similar issue. I'm currently experiencing the same problem. My last modifications were in December, and today I updated expo
, expo-router
and react-native
to their lastest versions.
Upvotes: 0