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

Issue while trying to access the container from another container or the host #19

Open
suoko opened this issue Jul 3, 2024 · 1 comment

Comments

@suoko
Copy link

suoko commented Jul 3, 2024

I'm trying to access the emulator container via adb using another container but can't find a way to connect, no devices are available.
The only way it works is using "--network host" and connecting using adb from the host.

If I try to use a bridge network and try to access the emulator from anther container, I get connection refused: even publishing the ports like "-p 5555:5555" and "-p 5554:5554" and trying from the host I can't connect.

I tried "adb connect ip-addr:555x" but still nothing.
How can I solve this ?
Should I publish more ports to try from localhost ?

@suoko
Copy link
Author

suoko commented Jul 10, 2024

Solved by using rinetd to map 5037 port of 127.0.0.1 to IP address of eth0

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

1 participant