Port and ping monitors
When you need to know whether a service is accepting connections — or whether a host is even reachable — reach for a TCP port or ping monitor. Both measure connectivity and latency rather than the content of a response.
You’ll create both under Monitors in the top navigation.
TCP port monitors
Section titled “TCP port monitors”A port monitor opens a TCP socket to a host and port. If the connection is accepted, the monitor is up and Aloft records how long the connect took. If the connection is refused, times out, or errors, the monitor is down.
This is the right tool for services that speak something other than HTTP — a database, a mail server, an SSH daemon, a game server — anywhere “is the port open?” is the question.
Create a port monitor
Section titled “Create a port monitor”- Go to Monitors and choose New monitor.
- Set Type to TCP port.
- Enter the Hostname / IP of the service (just the host, no scheme or path — for example
db.internal.example.com). - Enter the Port (1–65535).
- Pick an Interval, choose alert channels, and select Create monitor.
What “reachable” means
Section titled “What “reachable” means”“Reachable” here means a TCP connection completed successfully — the remote host answered on that port. The monitor does not send or inspect any application data; it only confirms the port is open and measures the connect latency.
Common ports
Section titled “Common ports”| Service | Port |
|---|---|
| HTTP | 80 |
| HTTPS | 443 |
| SSH | 22 |
| SMTP | 25 |
| PostgreSQL | 5432 |
| MySQL | 3306 |
| Redis | 6379 |
Ping monitors
Section titled “Ping monitors”A ping monitor checks whether a host or IP responds to an ICMP echo (“ping”). If the host replies, the monitor is up and Aloft records the round-trip latency. If there’s no reply before the timeout, it’s down.
Use a ping monitor for basic “is this machine alive and on the network?” checks — routers, servers, IoT devices, anything that should answer a ping.
Create a ping monitor
Section titled “Create a ping monitor”- Go to Monitors and choose New monitor.
- Set Type to Ping.
- Enter the Hostname / IP to reach (for example
192.0.2.10orgateway.example.com). - Pick an Interval, choose alert channels, and select Create monitor.
Choosing port or ping vs. HTTP
Section titled “Choosing port or ping vs. HTTP”- Use an HTTP / HTTPS or keyword monitor when you’re watching a website or API and care about status codes or page content. See HTTP and keyword monitors.
- Use a TCP port monitor when you care that a specific service is accepting connections, but it doesn’t speak HTTP (or you only need to know the port is open).
- Use a ping monitor when you only need to know that a host is reachable on the network at all.