I wrote small program and I would like to use some TCP ports. Same ports for a longer period of time. The problem is each time Windows 10 wakes up it makes its mind which ports to reserve for its purpose.
So far I set port A, two weeks later Windows reserved it, so I used another port, it is reserved again. And so the game continues.
So what range is safe from Windows 10 taking it over?
For the record, I am checking reserved ports with command:
netsh interface ipv4 show excludedportrange protocol=tcp