Port 9100: AppSocket (JetDirect) raw printing and Prometheus node_exporter
IANA lists 9100 as hp-pdl-datastr and pdl-datastream, the printer page description language data stream. CUPS documents the AppSocket protocol, also called JetDirect, as the simplest network printing protocol and notes it normally runs on port 9100. The Prometheus node_exporter also listens on HTTP port 9100 by default to publish host metrics.
Port Details
Security Exposure
NVD's entry for CVE-2024-51982 describes an unauthenticated attacker who connects to TCP 9100 and issues a Printer Job Language (PJL) command that crashes the device repeatedly. On servers, node_exporter publishes hardware and OS metrics over HTTP on 9100 to anyone who can reach it unless TLS and access controls are configured.
Hardening
- +Allow 9100 on printers only from print servers, and route user printing through those servers.
- +Block 9100 at the perimeter so printers are never reachable from the internet.
- +Apply printer firmware updates for PJL and raw-printing vulnerabilities.
- +Restrict node_exporter to the Prometheus server and enable TLS through its web configuration file.
Monitoring
Alert on 9100 connections to printers from hosts other than the print servers, and on any 9100 traffic crossing the perimeter.
Tools for Auditing and Monitoring Raw printing / node_exporter
runZero
FreemiumAsset inventory and exposure management platform with agentless discovery across IT, OT, and cloud.
Nmap
Free / CommercialNetwork discovery scanner and port auditor for discovering live hosts, open ports, running services, and OS fingerprints.
Zeek
Open SourceNetwork security monitoring framework that translates raw packet traffic into structured transaction logs and network events.
Related Tool Categories
Packet capture tools, protocol analyzers, and network security monitors for traffic visibility.
Zero trust access, secure web gateways, firewalls, and perimeter enforcement platforms.
Infrastructure scanners, CVE audit engines, container image inspectors, and exposure management platforms.
Frequently Asked Questions
What is port 9100 used for?→
It is the usual port for AppSocket (JetDirect) raw printing. The Prometheus node_exporter also uses 9100 by default.
Is port 9100 a security risk?→
On printers, it can be if it is reachable from untrusted networks. NVD describes CVE-2024-51982 as triggerable by an unauthenticated attacker who can connect to TCP 9100.
Is port 9100 TCP or UDP?→
Raw printing and node_exporter both use TCP. IANA lists both transports for the registered names.
Sources
Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 9100 is not guaranteed to be Raw printing / node_exporter. Exploited-in-the-wild data from the CISA KEV catalog (CC0).