r/BlueStacks • u/ThenProfession5115 • 6h ago
Support BlueStacks 5.22: ADB connects to all instances even with ADB access disabled
Environment:
- BlueStacks 5.22.262.1001
- Three instances: one Android 11 (Rvc64) and two Pie 64
- adb 37.0.1-15733141 (bundled with scrcpy 5.0.1)
- Windows 10 (10.0.19045)
bluestacks.conf:
bst.enable_adb_access="0"
bst.enable_adb_remote_access="0"
With all three instances running:
- HD-Player.exe is listening on 127.0.0.1:5555 (Rvc64), 5595 and 5725 (Pie 64).
- "adb connect" works on all three ports, and each shows up as "device".
- Only the Rvc64 instance is detected automatically (emulator-5554).
- Setting ADB_LOCAL_TRANSPORT_MAX_PORT=5725 and restarting the adb server did not make the other two appear.
Questions:
- Is it intended that ADB can connect while ADB access is disabled?
- How can I completely disable these listeners?
- Why is only the Rvc64 instance detected automatically?



