I\'m able to access my laptop web server using the Android emulator, I\'m using 10.0.2.2:portno
works well.
But when I connect my real Android phone, th
ngrok lets you put your localhost onto a temporary server and is very simple to set up. I've provided some steps here that can be found in the link:
ngrok http [port number]
You'll see a little dashboard in your terminal with an address pointing to your localhost. Point your app to that address and build to your device.