PortGate

Resources · Port reference · port 631

Port 631 (CUPS): what it is and how to secure it

The print service does not belong on a public VPS.

Check command

ss -tulpn | grep 631

Copied.

Stop cups-browsed on servers that do not print. UDP 631 was the reachability condition for the 2024 CUPS advisories. Upgrade CUPS from the distro either way.

ss -tulpn | grep 631

A 0.0.0.0 or :: address is a public listener. 127.0.0.1 is local.