Skip to main content

CLI tool for waiting on ports to open

Project description

CLI Tool for waiting on ports to open.

# Usage

usage: portwait [-h] [-t TIMEOUT] [-v] host port

positional arguments:

host Host to connect to port … its the port ok?

optional arguments:
-h, --help

show this help message and exit

-t TIMEOUT, --timeout TIMEOUT

Timeout in seconds

-v, --verbose

Describe result

# Example

Wait for ssh to open up (presumably after a reboot or something):

portwait 10.40.1.100 22

Do a single check and don’t wait

portwait 10.40.1.100 22 –timeout 0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

portwait-1.0.1.tar.gz (1.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page