I have isolated the device from the internet (switched off the wifi and turned off the mobile internet) connected the device to the host machine through usb cable.
And did the adb reverse tcp:8080 tcp:80
on the device. From the device I was able to access localhost:8080 is it possible that we can share the internet as well?like if I search something like this http://localhost:8080/?url=www.reddit.com/
<-- Is this work?