find the first open port on localhost within a range of specified ports
github.com/codekirei/first-open-port
codekirei/first-open-port