Android find what application is using a port
Posted: Tue Jan 27, 2026 6:12 pm
ADB from desktop to phone
** enable wifi debugging on phone
pair to phone
connect to phone
check protocol activity
find package with uid
convert decimal to hex
https://www.rapidtables.com/convert/num ... tml?x=2002
** enable wifi debugging on phone
pair to phone
Code: Select all
adb pair HOST[:PORT] [PAIRING CODE]Code: Select all
adb connect HOST[:PORT]Code: Select all
adb shell cat /proc/net/udp
adb shell cat /proc/net/tdpCode: Select all
adb shell pm list packages --uid [uid]convert decimal to hex
https://www.rapidtables.com/convert/num ... tml?x=2002