Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Killeon Patterson
Killeon Patterson
18,527 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,527 Points

Hello Rohald van Merode,

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

Best, Killeon