Konubinix' opinionated web of thoughts

Set Up Android Emulator Networking  |  Android Developers

Fleeting

Network Address Description

  • 10.0.2.1 Router/gateway address
  • 10.0.2.2 Special alias to your host loopback interface (i.e., 127.0.0.1 on your development machine)
  • 10.0.2.3 First DNS server
  • 10.0.2.4 / 10.0.2.5 / 10.0.2.6 Optional second, third and fourth DNS server (if any)
  • 10.0.2.15 The emulated device network/ethernet interface
  • 127.0.0.1 The emulated device loopback interface

https://developer.android.com/studio/run/emulator-networking