Android Emulator - Finding Port Number

user3371750 picture user3371750 · Sep 30, 2015 · Viewed 11.3k times · Source

I am running Android Studio with Microsoft's Visual Studio Emulator for Android on Windows 10. (I cannot use the default emulator due to an issue I am having with Intel HAXM)

Is anyone able to tell me an easy way of finding the port number that an emulated device is running on? I need to connect to the emulator through Telnet in order to send SMS commands.

Answer

Rahul Tiwari picture Rahul Tiwari · Sep 30, 2015

Usually, adb devices command will tell you emulator port: port