Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There could be several reasons why your application is unable to establish a connection when running expo start --dev-client. Here are some steps you can take to troubleshoot the issue:

  1. Check your internet connection: Make sure you have a stable internet connection and that there are no connectivity issues on your end.

  2. Check your firewall/antivirus settings: Your firewall or antivirus software may be blocking the connection. Try disabling these temporarily and see if the issue persists.

  3. Check your device settings: Make sure your device is connected to the same network as your development machine and that the network settings allow for connections between the two.

  4. Try a different port: By default, Expo uses port 19000 for the development server. Try specifying a different port using the --port option (e.g. expo start --dev-client --port 3000) and see if that resolves the issue.

  5. Try restarting the development server: Sometimes, simply restarting the server can resolve connectivity issues. Stop the server using Ctrl + C and then restart it using expo start --dev-client.

  6. Update your Expo CLI: Make sure you have the latest version of the Expo CLI installed. You can do this by running npm install -g expo-cli.

  7. Reset your Expo cache: Sometimes, issues with the cache can cause connection problems. Reset your cache by running expo r -c and then try running expo start --dev-client again.

If none of these steps resolve the issue, try reaching out to the Expo support team for further assistance.