Get a free port using the command line
npm install new-port-cli
bashnpm install -g new-port-cli
Usage
bashportthis will output a free port.