I have discovered a running process with PID 26376 listening on port 9001 and 9002 as when I try to run my program(as a service) which binds to that port it fails.
B
Well, in my case killing all the conhost.exe instances owned by the same user as the initial process released the port.