Prerequisites
Prerequisites
- DevHelm CLI installed or an API token for REST calls
- An API token set as
DEVHELM_API_TOKEN— see Authentication - A host and port that accepts TCP connections
Create the monitor
1
Create the TCP monitor
2
Verify it's running
3
Check results
Results show whether the TCP connection was established and the connection time in milliseconds.
Add assertions
For details, see TCP configuration.
Common use cases
Database connectivity
Database connectivity
Monitor PostgreSQL (5432), MySQL (3306), Redis (6379), or any database port to detect connection issues before they affect your application.
Internal service ports
Internal service ports
Verify that microservices are accepting connections on their expected ports — useful for service mesh health checks.
SMTP/mail servers
SMTP/mail servers
Check that your mail server is accepting connections on port 25, 465, or 587.
Next steps
TCP monitor reference
Full TCP configuration and assertion details.
First alert
Get notified when the TCP connection fails.
Monitors guide
Configure all six monitor types.