How to tunnel localhost on android

516 Views Asked by At

I have a python webserver which has webhooks , when posted in localhost on desktop and tunnel it through loophole.site it works

I further ran the python webserver code in Android 12 it works on ports > 1024 but my trading view alert webhooks only accepts from http Port:80 or https:443 also localhost address its not accepting

Pls guide me on how to access port:80 without rooting the device like a superuser or tunnel the localhost http://127.0.0.1:8000/webhook in android to enable the webserver working in android ,

the webserver uses Get alerts payload & Push to perform some actions on a exchange

I have attached a few pics for your reference The apk is pydroid and python version is > 3.7 enter image description here enter image description here enter image description here enter image description here enter image description here

1

There are 1 best solutions below

3
On

If you use android emulator use http://10.0.2.2:[your port]