Why ss Might Show No Open TCP Ports Even When Services Are Running
I’ve seen this happen on fresh installs, on servers that have just rebooted, and even on production machines that have been up for months. The symptom is simple: ss -tuln prints nothing, but systemctl status nginx (or whatever daemon you’re checking) says active (running). The mismatch usually boils down to one of three things:
- The service is listening on a non‑TCP socket
- The service is bound to a Unix domain socket or a local‑only address
- The socket is managed by a socket‑activated unit that isn’t yet in use
Below is a quick checklist that will help you zero in on the culprit, plus a few hardening tips that come with each case.
[Read More]