Interview Prep/Networking/Sockets, ports, TIME_WAIT and conntrack

Port 9090 is in use, but `ss -ltnp | grep 9090` shows no process name.

BeginnerTroubleshootingSockets, ports, TIME_WAIT and conntrack
Answer

Likely causes → You ran ss without root, so it can't read other users' process info; or the socket belongs to a different network namespace (a container), where it's not visible at all; or it's a kernel-owned socket (e.g. NFS, WireGuard).

Diagnose →

sudo ss -ltnp 'sport = :9090'
sudo lsof -nP -iTCP:9090 -sTCP:LISTEN
sudo fuser -v 9090/tcp
docker ps --format '{{.Names}} {{.Ports}}' | grep 9090
# inside a specific namespace:
sudo nsenter -t <container-pid> -n ss -ltnp

Fix → Stop or reconfigure the owner. If it is docker-proxy, a container publishes the port; change its -p mapping.

Prevent → Document port allocations per host and use sudo for socket inspection by habit.

All Networking questions Roadmap: Networking for DevOps

More on Sockets, ports, TIME_WAIT and conntrack