Issue
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?
Solution
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
$
Answered By - aerickson
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.