Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to connect an android device with different network then the stf server ? #784

Open
xmpppargat opened this issue May 28, 2024 · 1 comment

Comments

@xmpppargat
Copy link

I am trying to connect my device which is in India and my server on AWS ubuntu.

I am not sure what is the possibility of connecting adb using public IP.

is it always adb on the server should be used to connect to device ip and port or reverse can be possble as well ?

@xmpppargat xmpppargat changed the title is it possible to connect an addroid device with different network then the stf server ? is it possible to connect an android device with different network then the stf server ? May 28, 2024
@csdaa
Copy link

csdaa commented Jul 23, 2024

It can be achieved and I did the experiment two years ago.

It can be achieved through port forwarding, I use a third party, you search for the following relevant service providers in your country.

My script at the time:

cat stf_node_x.sh
stf provider --name 50.187  --min-port 7400 --max-port 7700 --connect-sub tcp://127.0.0.1:7114 --connect-push tcp://127.0.0.1:7116 --group-timeout 900 --public-ip xx.xx.xx.xx --storage-url http://localhost:7100/ --adb-host subDomain.aa.com --adb-port 5037 --vnc-initial-size 600*800 --mute-master never --allow-remote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants