Closed arielhad closed 6 years ago
this issue is legit, the only way to make this work is to echo something through the net.Server.
i did a spike of this, the problem is that interfaces like bluetooth throw really random errors - which is fine, but we'd have to (probably) completely switch to this style of 'is a port open' verification and make a major version bump - I am open to a PR for this, with the caveat that that someone would be around to go through the bugs that may ensue (and this package has a lot of upstream consumers)
closing, but by no means off the table
I used
portfinder.getPortPromise({port: startRangePortToUse})
in order to get free port butgetPortPromise
does not filter out ports stuck inTIME_WAIT
status -which mean that the port is not really "free"