I'm following https://developers.google.com/chrome-developer-tools/docs/remote-debugging#reverse-port-forwarding.
My android device shows up in Chrome on my desktop at chrome://inspect
.
I have a server running on my desktop. http://localhost:3000
loads fine in Chrome on my desktop.
I tried clicking the port forwarding button and putting in 8080
and localhost:3000
then navigating to http://localhost
and http://localhost:3000
in Chrome on Android, but I only got 'could not connect to server' messages. It won't accept 80
and localhost:3000
as valid options.
What do I need to do to be able to view the server on my desktop from my android device?
(Btw if you know the answer to this maybe you can also help with Chrome Remote Debugging a local site on a Virtual Machine with port forwarding)
Looks like there was a bug in Chrome that only allowed ports greater than 5000. See also this possible solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With