Description
Wait4X is a command-line tool that waits for a port or a service to reach a requested state, with a customizable timeout and interval. It is useful in scripts and container startup, where a program needs to wait until a database or web server is ready. It supports protocols such as TCP, HTTP and DNS, and services such as Redis, MySQL and RabbitMQ. Reverse checking inverts the test, so it can wait until a port is free or a service is not ready. Parallel checking lets you define several targets and check them at the same time. After a successful wait, Wait4X can run a command you specify. Besides the CLI, Wait4X can be imported as a package in a Go application. It ships as one pre-built binary for Linux, macOS and Windows. The project is licensed under Apache 2.0, and the homepage shows the current GitHub release as v3.4.0.…
Highlights
- Waits for ports and services to be ready
- TCP, HTTP, DNS, Redis, MySQL and RabbitMQ
- Reverse and parallel checking
- Single binary for Linux, macOS and Windows
Ratings & Reviews
No ratings yet
Be the first to rate Wait4X.
People also visit
Wait4X FAQ
What does Wait4X do?
It waits until a port or service reaches the state you ask for, with a timeout and an interval you can set, then exits.
Which protocols and services does it support?
TCP, HTTP and DNS, plus services such as Redis, MySQL and RabbitMQ, with the homepage saying the list continues.
Can it wait for a port to be free?
Yes. Reverse checking inverts the test so it succeeds when a port is free or a service is not ready.
Can it run a command after the wait?
Yes. You can define a command to execute after a successful wait.
Can I use it from Go code?
Yes. Besides the CLI, it can be imported as a package in a Go application.
What license is it under?
Apache 2.0, as shown on the homepage.
What are the best Wait4X alternatives?
Popular alternatives to Wait4X include conn-check, Montastic and IsZDown. See all Wait4X alternatives



