# This file goes in /etc/systemd/system/cups.socket.d/ # Configures CUPS to only listen on localhost [Socket] # IPv4 ListenStream=127.0.0.1:631 # IPv6 ListenStream=[::1]:631