Displaying 1 result from an estimated 1 matches for "excludedportrang".
Did you mean:
excludedportrange
2023 Nov 11
2
OpenSSH on Windows, ssh cannot |bind()| localport to port < 1023
...estrictions I need to run my
experiments from a local port < 1024 (not negotiable).
I thought that this was no problem... but ssh |bind()| fails with
"address in use" (yes, I checked netstat, no one is there) for any
port < 1023.
Then I checked $ netstat # and $ netsh int ipv4 show excludedportrange
protocol=tcp # and the same for IPv6, noone is using ports.
This *feels* like the "restricted port range" (1-1023) on UNIX/Linux,
where only "root" can do a |bind()| with a local port < 1023, but this
is Windows, and even as "Administrator" this still fails.
https...