Port monitoring
TCP port monitoring
Verify that databases, mail servers, SSH, message brokers and custom TCP services are accepting connections. Every check runs from all fifteen regions on six continents, and every failed check records what was observed, from a refused connection to a timeout.
TCP checks · last run
connect time
How it works
One TCP handshake per check, from every region
Each monitored region attempts a TCP connection to host:port with a three-second connect timeout. Sentinel measures how long the handshake takes (DNS lookup plus the three-way handshake) and report success if the socket opens. No payload is sent after the connection: the check answers "is the service accepting connections?" and nothing else.
When a connection fails, Sentinel records what it observed: refused, timed out, DNS failure, or network unreachable. That's a useful starting point for triage without pretending every failed connection has the same cause.
- 3-second connect timeout, fast failure detection
- The observed failure reason on every failed check
- The same multi-region confirmation as HTTP and ping checks
14 of 15 connected. An outage needs at least half the regions failing, on two continents, so one region timing out stays visible here without paging anyone.
Features
Service-level checks for every TCP port
Any TCP service
Postgres on 5432, MySQL on 3306, SMTP on 25, SSH on 22, Redis on 6379, RabbitMQ on 5672: anything that listens on a TCP port. One monitor per port, with all the regional and alerting machinery the rest of Sentinel gives you.
Real failure reasons
Every failed check records what the probe observed: connection refused, connection timed out, DNS resolution failed, or network unreachable. It's a starting point for triage, not a guess at the root cause.
Multi-region confirmation
Every TCP check runs from all fifteen regions. An outage opens only when at least half of them fail, three or more on two continents, and closes once the failures drop back below that line. A routing problem near one region doesn't page anyone.
What is port monitoring
Know whether a service is accepting connections
Port monitoring checks whether a specific TCP port on a server can be reached from the internet. Instead of requesting a web page, Sentinel resolves the hostname and opens a TCP connection to the port you choose. If it connects, the service is reachable at the network layer. If it fails, Sentinel records whether the connection was refused, timed out, couldn't resolve, or had no route. That makes it the check for services with no HTTP endpoint: databases, mail servers, SSH, message brokers, caches and custom TCP applications.
Port vs ping monitoring
Reachable doesn't always mean listening
Ping monitoring tells you whether a host answers ICMP. Port monitoring goes a step further and checks whether a specific TCP service is accepting connections. A server can answer ping while PostgreSQL on 5432 is down. ICMP can be blocked entirely while the service works fine. Use ping for host reachability and port monitoring when you care about a particular service.
What can you monitor
Every TCP service your stack depends on
If it accepts TCP connections on a known port, Sentinel can verify it from every region you choose. Here are the most common services teams point port monitors at.
1-65535
Any TCP port the service binds to
3s
Connect timeout, fast enough to catch real failures
15s
Fastest check interval, on the Business plan
15
Regions on every check, six continents
Databases
Postgres on 5432, MySQL on 3306, SQL Server on 1433, MongoDB on 27017, Redis on 6379. Confirm your data layer is accepting connections without exposing the actual database credentials to the monitoring service.
Mail servers
SMTP on 25 and 587, SMTPS on 465, IMAP on 143 and 993, POP3 on 110 and 995. Every port a mail server uses can be monitored independently so the right team gets paged when the right service goes down.
SSH, brokers, custom
SSH on 22 for bastion hosts, RabbitMQ on 5672, Kafka on 9092, gRPC backends on any port, and any bespoke TCP service. If it binds to a port, you can monitor it from every region with a single click.
How is port monitoring different from HTTP monitoring?
HTTP monitoring opens a connection and then sends a request, expecting a status code and optionally a body. Port monitoring opens the connection and stops there. It verifies the TCP socket is reachable and a service is listening, without speaking the protocol on top. Use HTTP for web endpoints and port monitoring for everything else that listens on a port.
Does port monitoring detect application-layer failures?
No. A successful TCP handshake proves the service accepted the connection, not that the process inside is healthy. A wedged database that's still accepting connections will pass a port check while failing its actual queries. Combine port monitoring with an application-layer health check where possible: for HTTP services use an HTTP monitor, for databases consider a custom health endpoint.
What kinds of failures will I see?
Every failed check records one of four observed reasons. Connection refused means the host actively rejected the connection, usually because nothing is listening on that port. Connection timed out means no connection was made before the three-second timeout, which a firewall, a routing problem, packet loss or an unreachable host can all cause. DNS resolution failed means the hostname didn't resolve. Network unreachable means the probe had no route to the address. These are what the probe saw, not a verdict on the underlying cause.
Can I monitor multiple ports on the same host?
Yes, create one Port monitor per port. A mail server might have one monitor for SMTP on 25, another for IMAP on 993, and another for SMTPS on 465. Each runs independently and creates its own incidents when it fails, so a port-level outage doesn't get conflated with a host-level outage.
Does this work for internal services on private IPs?
Public hosts only by default. Private addresses (RFC1918 ranges, loopback, link-local) are refused so Sentinel can't be used as a port scanner against private networks. Sentinel's probes check publicly reachable services only.
What ports can Sentinel monitor?
Any TCP port from 1 to 65535: SSH on 22, SMTP on 25 and 587, MySQL on 3306, PostgreSQL on 5432, Redis on 6379, RabbitMQ on 5672, and custom services on non-standard ports. Each port gets its own monitor, so you can see exactly which service is reachable and which one failed.
How is port monitoring different from ping monitoring?
Ping checks whether a host answers ICMP. Port monitoring checks whether a specific TCP service is accepting connections. A server can answer ping while PostgreSQL on 5432 is down, and ICMP can be blocked entirely while the service works fine. Use ping for host reachability and port monitoring for a specific service.
Is port monitoring on the free plan?
Yes. Port monitoring is included on every plan, the free plan too, alongside DNS, ping, domain expiration and keyword monitoring.
Start monitoring your TCP services
Check databases, mail servers, SSH, message brokers and custom TCP services from fifteen regions around the world.
No card for the free plan · 14-day trial on paid plans · Cancel anytime