Uncaught Error:java.net.ConnectExeption

  1. SDK Version: 41.0.0.
  2. Platforms(Android/iOS/web/all): Android
  3. Localhost error

I’m having difficulty opening the project on Android, either on the AVD or on the device. When I open the project, I get a blue screen and when I see the log, it indicates a network error.
Any ideas on how to solve this?

Uncaught Error: java.net.ConnectExeption: Failed to connect to /

Detail that my localhost is indicating port 19002.

Hey @wamarelo1980, do you have anything running on port 19000? You can also use the --tunnel option to at least get you unblocked if you haven’t already. Another thing you can do is customize metro to point at 19000 which should be the default but explicitly setting the server config might help. Customizing Metro - Expo Documentation


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.