portdiscovery

1.1.1 • Public • Published

portdiscovery

Finds an open port (using portfinder) and sends output to stdout

npm install -g portdiscovery

Usage

Simply run portdiscovery and it will look for open ports starting in 8000.

You can specify a base port if 8000 doesn't fit your needs: portdiscovery 8010

Cool tip

You can assign to a bash variable then use it to deploy your apps, for example:

httpPort=$(portdiscovery)
echo $httpPort

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    3
  • 1.1.0
    2
  • 1.0.0
    1

Package Sidebar

Install

npm i portdiscovery

Weekly Downloads

4

Version

1.1.1

License

MIT

Last publish

Collaborators

  • gammasoft