#Port Forwarding
1 messages · Page 1 of 1 (latest)
Have you tried https://chromeos.dev/en/web-environment/port-forwarding
These directions may be a little out of date; you can search for port forwarding in settings to get to the menu, too
Yeah, I've tried that.
The android browser just keeps loading until it eventually gives up.
The page does work in the regular Chrome browser and in the Linux environment.
Oh, I see, I misunderstood the question. Trying to access a port from Crostini from a browser in the Android environment, is that right?
Just heard back from some eng, but don't have a device to check:
Try ip a in Crostini to get it's IP address, then try connecting to that from the Android browser (with port)
What browser are you trying to use? Maybe eng can dig in
Thanks! It's Vivaldi. I ran a quick try on Firefox too, and that just loaded indefinitely as well.
Even on a fresh install, I can't get the container to serve to Android. I just tried the main IP address (192.168.x.x), the Crostini address (100.115.x.x), and LocalHost.
Using a brand new Acer Spin 514 and my usual Galaxy Chromebook:
None work on Android.
LocalHost worked on ChromeOS and Crostini.
No idea what's going on
Ok, I just tested a node.js server and it works...
The other server was written in Dart
(Sorry for the spam)
When I run a the Flutter Demo web app, ARCVM can't detect the demo app either. Maybe this is a dart server problem?
You can try asking about exposing the server port to external devices in #flutter. I know for many Node servers, you need to explicitly tell it to share, maybe there's a similiar Flutter option
Makes sense. I did some more research, and it seems to be a Flutter issue.
Thanks for the help!