Localhost URLs stopped working

I can reach localhost on expo web, but it no longer workers on the connected android device.

expo cli: 3.20.1

You need to open the URL using the IP address of the device. This is printed in the console next to “https://localhost:19006/“. Also make sure you Android device is on the same WiFi as your computer.

Thanks for the quick response. Here is the strange behavior I’m seeing. All devices are on the same network. I am seeing inconsistencies in hitting the API end point.

Expo web:
API endpoint URL: “http://localhost:5000WORKING
API endpoint URL: “ WORKING

Expo android:
API endpoint URL: “http://localhost:5000NOT WORKING
API endpoint URL: “

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