This help document describes the ports that CUPS uses so that firewall administrators can allow traffic used for printing.
The following ports are used for printer sharing:
Port | TCP/UDP | Description |
---|---|---|
53 (DNS) | TCP/UDP | Domain Name System lookups and service registrations. |
137 (WINS) | UDP | Windows Internet Naming Service (name lookup for SMB printing). |
139 (SMB) | TCP | Windows SMB printing. |
445 (SMBDS) | TCP | Windows SMB Domain Server (authenticated SMB printing). |
631 (IPP/IPPS) | TCP | Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.) |
5353 (mDNS) | UDP | Multicast DNS lookups and service registrations. |
The following ports are used for network printers:
Port(s) | TCP/UDP | Description |
---|---|---|
53 (DNS) | TCP/UDP | Domain Name System lookups. |
137 (WINS) | UDP | Windows Internet Naming Service (name lookup for SMB printing). |
139 (SMB) | TCP | Windows SMB printing. |
161 (SNMP) | UDP | SNMP browsing (broadcast) and status monitoring (directed to printer IP address). |
443 (IPPS) | TCP | Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.) |
445 (SMBDS) | TCP | Windows SMB Domain Server (authenticated SMB printing). |
515 (LPD) | TCP | Line Printer Daemon (LPD/lpr) print job submission and status monitoring. |
631 (IPP/IPPS) | TCP | Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.) |
5353 (mDNS) | UDP | Multicast DNS lookups. |
9100-9102 | TCP | Raw print data stream (AppSocket/JetDirect). |