Sujet : Re: Do you use ADB (or ScreenCopy) with Android & Windows?
De : marion (at) *nospam* facts.com (Marion)
Groupes : comp.mobile.androidDate : 09. May 2025, 11:03:16
Autres entêtes
Organisation : BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID : <vvkjt3$2k0n$1@nnrp.usenet.blueworldhosting.com>
References : 1 2 3 4 5 6
User-Agent : MacSOUP/2.8.5 (ea919cf118) (Mac OS 10.12.6)
On Fri, 9 May 2025 09:57:14 -0000 (UTC), Marion wrote :
Q2: Where is that port set inside of the adb tool?
C:\> set | findstr /i adb
ANDROID_ADB_SERVER_PORT=55555
It's sloooowly coming back to me why I set the port to 55555 so many years
ago that I had forgotten that I had figured out how to change adb's port
even though 5037 is hard coded (at the time, I think 5555 was hard coded).
When Android 10 or 11 (around then sort of) came out, it allowed us to run
adb over Wi-Fi but the damn port was dynamic so I was valiantly trying to
find a way to be able to lock the Wi-Fi port to be static so that I didn't
have to look at the phone every time I wanted to connect adb over Wi-Fi.
That's almost certainly why I set that environment variable.
It's slowly coming back to me now.
It's rare that I fail at anything (very rare in fact), but I did fail at
setting the port that adb uses over Wi-Fi to be static.
But I had forgotten all about that failed quest.
Sigh. I think I'm getting old.....