Sitemap

React-Native: Could not connect to development server. Connect via Wi-Fi

Nov 29, 2021
Press enter or click to view image in full size

If you have received this error and none of these methods solved the issue, just try to connect via Wi-Fi:

  • Your mobile device (or simulator) and workstation (PC/Mac) have to be on the same Wi-Fi network
  • On the device open the In-App Developer Menu (cmd ⌘ + D / cmd ⌘ + M or just shake the device)
Press enter or click to view image in full size
In-App Developer Menu
  • Navigate to Dev SettingsDebug server host & port for device
  • Type your workstation IP address and port of local dev server (e.g. 192.168.0.3:8081)
Press enter or click to view image in full size
  • Return to Developer menu ir select Reload.

--

--

No responses yet