How to connect a Genymotion Device Image (PaaS) instance to any IDE

How to connect a Genymotion Device Image (PaaS) instance to any IDE?

Pre-requisites

Instructions

To connect your Genymotion instance to your favorite developer's tool (IDE), you just need to connect it to ADB.

Setup your Cloud network firewall

ADB connections use TCP port 5555, so you first need to allow inbound connections to this port on your Cloud firewall.

Warning

Do not open inbound TCP port 5555 to everyone (All, 0.0.0.0/0), or your instance will be vulnerable to attacks!

Only allow inbound connections to TCP port 5555 from authorized hosts.

Please refer to your Cloud provider documentation to setup your Cloud network firewall:

Note

A more secure option is to only open inbound connection to SSH and use a SSH tunnel. For detailed instructions, please refer to Genymotion Device Image user guide.

Connect the instance to ADB

Follow the steps from our user guide: How to access a virtual device from ADB?

Once done, your instance should appear like a connected device in your IDE.

Related articles