portdiscovery
v1.1.1
Published
Finds an open port and sends the output to stdout
Downloads
4
Readme
portdiscovery
Finds an open port (using portfinder) and sends output to stdout
npm install -g portdiscovery
Usage
Simply run portdiscovery
.
You can assign to a bash variable then use it to deploy your apps, for example:
httpPort=$(portdiscovery)
echo $httpPort