Connecting to remote ADB server

I’m using Appium in a Dockerized environment: every Appium server is a Docker container connecting to a Selenium Hub.

I that case, every Appium server tries to start up an ADB server to communicate with Android devices which cannot work as every (real) device can connect only to one ADB server.

One solution could be to launch a separate ADB server and have the Appium servers to use that one. Is there a posibility to make Appium to connect to a remote ADB server and don’t try to start up a new instance? (One can connect to a remote ADB server using ADB client via -H and -P flags.)

1 Like