This has been asked before, but did not receive a satisfactory answer.
From my Android application, I need to send an HTTP request to a PC attached via USB. Typ
It should be possible to use USB tethering for this purpose. When you start USB tethering for your PC at Android device then PC and Android became in same local network. It allows to access PC (for example test http server) via HTTP.