https://stackoverflow.com/a/64653146 How to access local webserver on phone with usb cable: chrome://inspect/#devices --> port forward your server, eg localhost:8888 Usb-debugging has to enabled in phone's settings, under developer settings 1. In your computer's Chrome browser, open chrome://inspect/#devices , click the "Port forwarding" button, check "Enable port forwarding", and add the port on the computer that you want to be accessible from the phone (detailed instructions here). You'll need to keep open the tab running chrome://inspect/#devices. 2. In your phone's browser, navigate to localhost:[port_number], and it should display whatever is running on the computer. 2024-02-01