Loading…
Skip to content
All journal
ApplicationsAutomation

A listening port is not a working application

A green port check does not prove the approval, booking, or order write succeeded.

Rootscratch ·

A rack-mounted server and network switch with one ethernet cable seated and a green link light on that port. No people.

A monitor can turn green because something answered on the web port. The person waiting on an approval, a booking, or an order update still has nothing. The process that writes the record can be down while the port stays open.

Rootscratch builds custom web applications around a task. Someone books a service, approves a file, manages an order, or opens the records tied to their account. The map for that work includes who does the task, which record they need, and what happens when the step fails. A port check does not answer the last question.

Check the step the user finishes

Ask for the record the workflow is supposed to create. If the approval write fails, the signal you trust should fail with it. A homepage that returns a page only shows that a process accepted a connection and sent HTML.

The same gap shows up after a deploy. New files can sit on disk while the old process is still the one answering. Reload or restart the process that serves the application, then request the workflow again. A file timestamp is not proof that visitors are hitting the new build.

Keep the failed step visible

Rootscratch's automation work includes validation, duplicate handling, retries, manual recovery, and an alert to a responsible person when a job fails. Use that for the application step too. A green port and a silent failure is how one screen looks finished while the record was never written.

If a retry is safe, retry the same operation. If you cannot tell whether the first attempt saved the record, do not fire a second create and hope. Store the attempt, then check the other side or leave the step for a person. A payment return page and a CRM timeout are separate checks. This one is about the application itself: the port can be fine while the write is not.

Test it on purpose

Stop the worker that saves the record. Leave the web port running. The check you trust should go red. Start the worker again and repeat the same request. The record should appear once, and the check should go green only after that write succeeds.

Bring one workflow, the record it should create, and the check that currently watches the server. Rootscratch's custom web application work follows the process the business has already described. Automation work can add the retry and the alert. Neither promises that every outage will be caught, and a monitor is not a substitute for the person who can recover a failed step.

From Koronadal City

Tell us what you need to build or improve.

Based in Koronadal City, South Cotabato, Mindanao. Working remotely with businesses throughout the Philippines and worldwide.