🔌 Monitor any TCP port • Alert on consecutive timeout & restored
Port_Alert: Monitor TCP Port Connectivity and Get Instant Alerts
Port_Alert monitors TCP port connections (MSSQL/MySQL/FTP/SSH/SMTP/DNS/HTTP and more) and alerts you only when connection timeouts happen consecutively — then sends another alert when service is restored.
Features
- Monitor TCP port connections and alert on continuous timeout and when restored (status change alerts). Supports common services: FTP (21), SSH (22), Telnet (23), SMTP (25), DNS (53), HTTP (80), POP3 (110), MSSQL (1433), MySQL (3306) — or any custom port.
- Configure any number of consecutive connection timeouts before triggering an alert (1, 2, 10, 20, 100…).
- Adds 3× PING host response results inside the alert text when port connection times out (helps identify network vs application issues).
- Alerts only when status changes (normal → timeout, timeout → normal) to avoid repeated notifications while the issue persists.
- Alert channels include SMS, Email, and Sound. Email can be sent via local/Gmail/Yahoo/free SMTP (Gmail/Yahoo use App Password).
- Sound plays 3 times when alert is sent, and 1 time when restored.
- Logs timeout details to files and automatically separates logs by date.
- Daily SMS cap option to prevent SMS storms (e.g., max 20/day; the 20th SMS ends with 20/20; email can still be sent; counter resets at midnight).
- “I am Alive” periodic mail notification option to confirm the program is running.
Alert text examples
Example messages (from the legacy page) showing “Down” and “Alive/Restored” states.
Down (port connect timeout)
Includes port, service label, duration, start/end time, and 3× ping result.
192.168.3.99 1433 Down(01:21:42) MSSQL DB 57 seconds (8 times) from 2015-08-21 01:20:45 to 01:21:42 (Ping Success 3 of 3)
Alive / Restored
Sent when the status returns to normal.
192.168.3.99 1433 ALIVE(2015-08-21 02:01:44) Internal MSSQL DB Back to Alive
Alert channels
- SMS (sent from our server) for immediate response.
- Email alerts via server delivery and optional local/Gmail/Yahoo/free SMTP configuration (Gmail/Yahoo use App Password).
- Sound alerts for local monitoring stations (3 times on alert, 1 time on restore).
- WhatsApp version available here: port_alert_lic.htm
SMTP setup
Need help configuring SMTP? See: SMTP.htm
References & downloads
- Download (Windows): port_alert.zip
- Linux version: port_alert_linux.htm
- WhatsApp version (no registration): port_alert_lic.htm
- Register to get free SMS for testing: register.htm
- Article on ghacks.net: TCP port monitor Port_Alert