WARNING Cannot connect to Metro.

Iniciado por Apliccursos, 24 de Dezembro de 2021, 17:58

Tópico anterior - Tópico seguinte

0 Membros e 2 Visitantes estão a ver este tópico.

Apliccursos

Try the following to fix the issue:
- Ensure that Metro is running and available on the same network
- Ensure that your device/emulator is connected to your machine and has USB debugging enabled - run 'adb devices' to see a list of connected devices
- If you're on a physical device connected to the same machine, run 'adb reverse tcp:8081 tcp:8081' to forward requests from your device
- If your device is on the same Wi-Fi network, set 'Debug server host & port for device' in 'Dev settings' to your machine's IP address and the port of the local dev server - e.g. 10.0.1.1:8081

URL: 192.168.20.72:19000

Error: Connection reset

Stack trace:
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:82800:27 in registerWarning
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:82737:31 in warnImpl
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:82714:20 in warn
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:112655:22 in warn
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:37548:18 in setHMRUnavailableReason
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:37483:31 in <unknown>
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:38160:34 in emit
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:37879:18 in onerror
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:35116:30 in dispatchEvent
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:36191:30 in <unknown>
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:2806:41 in emit
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:3840:35 in __callFunction
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:3568:30 in <unknown>
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:3794:14 in __guard
  http://192.168.20.72:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&minify=false:3567:20 in callFunctionReturnFlushedQueue
  [native code]:null in callFunctionReturnFlushedQueue
  ...