Firewall Configuration - Ports used by PaperCut

KB Home   |   Firewall Configuration - Ports used by PaperCut

Q I would like to configure a firewall on the server. What ports does PaperCut use?

The main network TCP ports used by PaperCut are:

  • 9191 for HTTP connections
  • 9192 for secure HTTP/SSL connection
  • 9193 for device RPC (only used for embedded copier/MFP solutions)

UDP ports are not used for connections from PaperCut client to the sever, only standard TCP. All connections are made inbound from clients and secondary servers to the primary server. No outbound connections are made by the primary server to any workstation or secondary server.

PaperCut uses standard HTTP XML WebServices for client-server and server-server communication (XML-RPC). Sensitive data is sent over SSL/HTTPS on port 9192. The PaperCut installer on Windows and Mac will endeavor to make sure these ports are open. Linux systems running firewalls may need to manual open these ports to local network IP addresses as appropriate.

Complete List of Ports Used by PaperCut

PaperCut also uses ports for a variety of other protocols.

SNMP (for toner level retrieval)

  • Outbound (PaperCut connecting to the device)
    • 161 UDP

Cross-Server Job Redirection

Windows Spooler service uses the following ports for redirecting print jobs between a Primary and Secondary server.

  • 445 TCP, Server Message Block

If using NetBIOS:

  • 137/138 UDP, Name and Datagram Services
  • 139 TCP, Session Services

Mobility Print

The following ports must be available:

  • 9163 HTTP
  • 9164 HTTPS
  • 53 DNS
  • 5353 mDNS

Google Cloud Print

PaperCut needs to be able to communicate, without the use of a proxy, to the Google Cloud Print services. This is done on:

  • 443 TCP (HTTPS), with connections to:
    • https://www.googleapis.com/*
    • https://accounts.google.com/*
    • https://www.google.com/cloudprint/*
  • 5222 TCP (XMPP, using STARTTLS), with a persistent connection to:
    • talk.google.com

Database connections

PaperCut makes use of the jTDS JDBC driver for Microsoft SQL server and SQL Server Express, the postgresql JDBC driver for PostgreSQL, Oracle JDBC for Oracle and MySQL JDBC for MySQL.

You may specify a custom port, the defaults are below.

  • Oracle: 1521
  • Microsoft SQL Server: 1433
  • Microsoft SQL Server Express: 1450
  • MySQL: 3306
  • PostgreSQL: 5432

Device Connections

PaperCut MF uses a variety of port for connecting to copiers, MFPs and other devices. These are listed below by device.

Brother

  • Inbound (device connecting to PaperCut)
    • 9191 TCP/HTTP

Canon

  • Inbound (device connecting to PaperCut)
    • 9191
    • 9193

Dell (AIP)

  • Outbound (PaperCut connecting to the device)
    • 443
  • Inbound (device connecting to PaperCut)
    • 9191
    • 9192

HP

  • Inbound
    • 9193
  • Outbound connections from PaperCut to the HP devices on port:
    • 7627 (TCP/HTTPS)

Fuji-Xerox (AIP)

  • Outbound (PaperCut connecting to the device)
    • 443
  • Inbound (device connecting to PaperCut)
    • 9191
    • 9192

Konica-Minolta

  • Outbound (connecting to the device)
    • 50003
    • 80/443
  • Inbound (device connecting to PaperCut)
    • 9191
    • 9192

Kyocera

  • Inbound
    • 9191 (if using custom logos)
    • 9193

Lexmark

  • Inbound
    • 9191 (if using custom logos)
    • 9193

Ricoh

  • Inbound
    • 9193

Samsung

  • Inbound
    • 9191 (if using custom logos)
    • 9193

Sharp

  • Outbound
    • 80
    • 443
  • Inbound
    • 9191
    • 9192

Toshiba

  • Inbound
    • 9191 TCP - for EWB
    • 9192 TCP - secure messages for EWB
    • 10389 TCP (LDAP)
    • 10636 TCP (LDAPS)
    • 162 UDP (SNMP traps) for SDK1 only
  • Outbound
    • 161 UDP (SNMP) for SDK1 only
    • 49629 TCP (HTTP) for SDK2 and RD30 only
    • 49630 TCP (HTTPS) for SDK2 and RD30 only

VCC Terminals

  • Outbound
    • 1234
    • 1235

Xerox

  • Outbound
    • 80
    • 443
  • Inbound
    • 9191
    • 9192

Elatec TWN3 Reader and TCP Converter

  • Inbound
    • 7778

RFIDeas Lantronix

  • Inbound
    • 10001

RFIdeas Ethernet 241

  • Inbound
    • 2000

Categories: Implementation / Deployment, Architecture


keywords: port, TCP, fire wall, firewall rules, anti virus

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on April 25, 2017, at 03:50 AM
Printable View   |   Article History   |   Edit Article