#Port Forwarding

1 messages · Page 1 of 1 (latest)

fading void
#

These directions may be a little out of date; you can search for port forwarding in settings to get to the menu, too

river pilot
#

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.

fading void
#

Oh, I see, I misunderstood the question. Trying to access a port from Crostini from a browser in the Android environment, is that right?

river pilot
#

Yeah, that's it.

#

I just wanted to test a website on an Android browser.

fading void
#

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)

river pilot
#

Yeah, I tried that and hostname -I

#

Still nothing but loading unfortunately

fading void
#

What browser are you trying to use? Maybe eng can dig in

river pilot
#

Thanks! It's Vivaldi. I ran a quick try on Firefox too, and that just loaded indefinitely as well.

river pilot
#

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?

fading void
#

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

river pilot
#

Makes sense. I did some more research, and it seems to be a Flutter issue.
Thanks for the help!