Npm start error in expo client


#1

Everything looks normal in terminal, QR code shows up. My phone tries to connect to server but it throws a timeout error with the code -1001.

I don’t know what to do?

My environment:
Windows 10 pc connected to same modem with lan cable
Iphone 6 phone connected to same modem with wireless


Finished building JavaScript bundle
#2

What happens if you try to open the same link in your iPhone’s web browser?


#3

trying to connect for a long time and throws this: “Safari could not open the page because the server stopped responding”


#4

It seems like for whatever reason, your local network or firewall isn’t allowing your phone to access your computer directly. You might want to check your firewall or router settings to see if you can unblock this.

If that doesn’t work, another alternative is to switch over to the Expo toolchain (which will work with your project), such as XDE or exp. These offer a “tunnel” option which should solve the issue. One caveat is that these tools, unlike CRNA, require you to register a user account.


#5

thank you for your help:) i will look at it