Binary package betterwait is a easy and highly effective solution to test and wait on the availability of a TCP host and port for developers and DevOps engineers.
Windows, Linux, macOS
Download the binary package for your OS from here.
https://github.com/gvaishno/betterwait/releases
$ betterwait -help
Usage:
betterwait [options]
Options:
-help Show this help message.
-host Specify a host address.
-port Specify a port number.
-try Specify max tries before giving up.
-quiet Quiet mode.
Will be available soon.