find-port icon indicating copy to clipboard operation
find-port copied to clipboard

Find any open port (random)

Open snoj opened this issue 7 years ago • 5 comments

Add the ability to find a random open port to listen on instead of a range or predefined list.

snoj avatar Oct 13 '17 19:10 snoj

Put together a pull request w/tests #6

snoj avatar Oct 13 '17 19:10 snoj

@snoj how you doing mate? long time! Your build is failing for some reason, can you check? Plus I prefer to keep this code promise free...

kessler avatar Oct 17 '17 16:10 kessler

@kessler, still pounding away at the keyboard like a monkey. ;)

It's failing because of the promise. I'll rewrite it as a pure callback.

snoj avatar Oct 17 '17 21:10 snoj

@kessler tests are passing now.

Saw your blog/company sites. Our chats from so long ago make much more sense now!

snoj avatar Oct 17 '17 21:10 snoj

Updated the code with a modification to probe so old and new can be done with the same function calls.

snoj avatar Oct 18 '17 15:10 snoj