Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Killeon Patterson
Killeon Patterson
18,133 Points

React Native Expo Go error

Hello,

I'm attempting to setup Expo Go to preview my React Native "hello-world" app. I've downloaded to Expo Go to my android phone. Although when I scan the QR code that I receive after runn npm start, I get the "something went wrong." error.

The log say Uncaught Error: java.netSocket.TimeoutException: failed to connect to /192.168.0.2 (port 19000) from /192.0.0.4 (port 56586) after 10000ms.

Does anyone know why I'm receiving this message rather than the app preview? Thank you for you help.

2 Answers

Rohald van Merode
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Rohald van Merode
Treehouse Staff

Hey Killeon Patterson 👋

I personally don't have any experience with React Native but I found this issue on GitHub explaining a similar error where some of the comments might provide you a solution to this issue you're experiencing 🙂

Hope this helps!

Killeon Patterson
Killeon Patterson
18,133 Points

Hello Rohald van Merode,

Thank you for your response and the link. I appreciate your time.

Best, Killeon