So i'd not really expect a "windows bug" but more like a badly implemented 3rdparty driver or similar. Something that is installed on your system but not on most others.
Anyway, if you like to go on debugging the issue and identify the cause of the issue, you'd need to follow up what i wrote above:
So when you got the same error executing "C:\dev\testlisten.exe "0.0.0.0" 65445", you try each and every IP listed in ipconfig /all and additionally the loopback adapter:After that, you can try each and every ip address your machine has in ipconfig /all and check if one of the interfaces is the guilty one.
C:\dev\testlisten.exe "127.0.0.1" 65445
On a sidenote, there is a shortcoming in the source code of the FFAStrans rest_api stuff, it actually misses to release/teardown networking resources on close. This is already fixed and will be in the next release version but there is no guarantee yet that it solves your issue. For solving your issue we'd need to know more as proposed above.