wutzebaer
wutzebaer

Reputation: 14865

Discover emulators without adb

Adb can discover all running emulators with

adb devices

how does he detect the running emulators? Is it possible to list the running emulators without adb?

Upvotes: 0

Views: 375

Answers (1)

aerickson
aerickson

Reputation: 116

ADB is probably just doing a port scan / attempting to open the TCP ports that JimmyB mentioned.

NMAP can do the same. This should reveal the ports...

$ sudo nmap -sS -p 5555-5585 localhost -oG - 
# Nmap 7.80 scan initiated Thu Aug  6 18:26:30 2020 as: nmap -sS -p 5555-6000 -oG - localhost
Host: 127.0.0.1 (localhost) Status: Up
Host: 127.0.0.1 (localhost) Ports: 5555/open/tcp//freeciv///    Ignored State: closed (445)
# Nmap done at Thu Aug  6 18:26:31 2020 -- 1 IP address (1 host up) scanned in 1.15 seconds
$

Upvotes: 1

Related Questions