Setup Flutter Firebase Emulator for Physical Device


I’ve been banging my head against this for months. I have been using Flutter, Firebase and the emulator for years but I can’t get a physical Android device to connect to the firebase emulator. I get this error on Windows 10.

  [OnlineStateTracker]: Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds

<p>An Android emulator has no issue connecting. The physical device can connect to the cloud Firestore with no issue. The only connection it can't make is from a physical device connected via usb to the Firestore emulator. I made the&nbsp;<a href="" rel="noreferrer noopener" target="_blank">most minimal example here</a>&nbsp;with no permissions or security to simplify the problem. It has the fixes I've seen others post (ssl, ports, ip address etc) but none work for me.</p>

<p><a href="">Follow up post with solution</a>.</p>