node-portastic icon indicating copy to clipboard operation
node-portastic copied to clipboard

Find open ports programmatically with Node.js

Results 5 node-portastic issues
Sort by recently updated
recently updated
newest added

This is a problem I found while using https://www.npmjs.com/package/proxy-chain. # Explanation The proxy-chain module has a function to create a proxy server using a random open port, it finds the...

I used shadowsocks-libev opened a few tcp ports on my Mac. The ports being used by shadowsocks-libev car shown by the operating system, but Portastic still reports that these ports...

It would be great if there was a `random: true` option in `portastic.find()`, which would cause the search for the port to be random rather than sequential. That would reduce...

``` var portastic = require("portastic"); portastic.find({ min: 1, max: 100 }) .then(function(ports){ console.log('Ports available between 8000 and 8080 are: %s', ports.join(', ')); }) ``` throws the error `Unhandled rejection Error:...

Hi @alanhoff, I'm using your library with Typescript, so I thought I would take a bash at writing a Typescript declaration file for portastic. If you'd like, you could take...