Only then, configure a reverse proxy on the bridge of the Android emulator that will forward localhost HTTP requests to the appropriate port (e.g. Start your Android emulator as usual, e.g.: $ ~/Android/Sdk/emulator/emulator -avd Pixel_3a_API_30_x86 First of all, install the Android debug bridge: $ sudo apt install adb android-sdk-platform-tools-common