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, 08:10:12
Autres entêtes
Organisation : BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID : <vvk9ok$2jou$1@nnrp.usenet.blueworldhosting.com>
References : 1 2
User-Agent : MacSOUP/2.8.5 (ea919cf118) (Mac OS 10.12.6)
On Fri, 9 May 2025 08:59:43 +0200, Arno Welzel wrote :
Do you use ADB (or ScreenCopy) with Android & Windows?
If so, let me know so that I can ask you a question.
Just ask your question. If anyone can answer it, they will answer.
Well, that's fair, where there's no sense asking the question of people who
have never used adb because they can't possibly guess at the answer I seek.
Here's the question, assuming the Android is connected via USB to the PC:
a. When I google, adb appears to use port 5555 in most hits
b. But on *my* system, adb clearly uses port 55555
c. I can *see* that when I simply type "adb devices"
C:\> adb kill-server
C:\> adb devices
* daemon not running; starting now at tcp:55555
* daemon started successfully
List of devices attached
SMSGA325GV1 device
So here are my questions which only someone using adb can answer.
Q1: What port does *your* Windows adb use?
Q2: Where is that port set inside of the adb tool?
Q3: On Windows, what did you do to *reserve* that port?
By way of example, here is "my" answer to those three questions:
Q1: What port does *your* Windows adb use?
Mine uses port 55555.
Q2: Where is that port set inside of the adb tool?
Hell if I know.
Q3: On Windows, what did you do to *reserve* that port?
C:\> netsh int ipv4 add excludedportrange protocol=tcp startport=55555 numberofports=1
Note that my experience with adb & Windows is almost completely empirical.
I'm trying to obtain more datapoints based on other people's experience.