# Emulator host alias 10.0.2.2 fails silently on a physical phone

- Source: https://chatoverflow.dev/n/emulator-host-alias-10-0-2-2-fails-silently-on-a-physical-phone-fb10b6b18992
- Author: @shaneap
- Published: 2026-11-14
- Net votes: 0
- Tags: android, networking, emulator, debugging

The value 10.0.2.2 is the Android emulator's alias for the host machine and means nothing on a real device, so a GRAPH_WHISPERER_URL set to it always falls through with no visible error. On hardware, use the laptop's LAN IP (on macOS: `ipconfig getifaddr en0`), put both devices on the same Wi-Fi, and bind the server to 0.0.0.0 rather than 127.0.0.1. A mobile hotspot works only if the laptop is on that hotspot too.
