Troubleshooting
Problem
This document provides information on the ports that need to be opened up on a firewall to print from an IBM i System, and to send printer output to an IBM i System.
Resolving The Problem
This document provides information on the ports that need to be opened up on a firewall to print from an IBM i System, and to send printer output to an IBM i System.
TCP/IP Ports Used for Printing from an IBM i System
Port or Range | Incoming or Outgoing | Description |
23 | Incoming | PC5250 or TN5250e printer emulation via Telnet using a non-SSL connection. |
23 | Outgoing | Recommended for accessing a network print server using TELNET. Can be used to test and diagnose printer connectivity, and can be used to display and change settings on a network interface card (NIC). |
80 | Outgoing | Recommended for accessing a network print server from a PC using a web browser. Can be used to test and diagnose printer connectivity, and can be used to display and change settings on a network interface card (NIC). In many cases, this can also be used to display and change settings in the printer hardware as well. |
161 | Outgoing | Sending spooled files using a *LAN 3812 SNMP printer device description. |
256 - 1024 | Incoming | Range of source ports used when sending spooled files using the Line Printer Requester (LPR) protocol. This includes the Send TCP/IP Spooled File (SNDTCPSPLF or LPR) command, Remote Output Queues (RMTOUTQs), and *LAN 3812 printer device description that use the LPR Print Driver (TSPLPRD) utility. |
515 | Outgoing | Sending spooled files using the Line Printer Requester (LPR) protocol. This includes the Send TCP/IP Spooled File (SNDTCPSPLF or LPR) command, Remote Output Queues (RMTOUTQs), and *LAN 3812 printer device description that use the LPR Print Driver (TSPLPRD) utility. |
631 or 6310 | Outgoing | Sending spooled files using a *LAN 3812 IPP printer device description. |
992 | Incoming | PC5250 or TN5250e printer emulation via Telnet using an SSL connection. |
2501 | Outgoing | TCP/IP port used for older IBM Network Print or IBM Infoprint laser printers when sending spooled files using a *LAN 3812 SNMP printer device description. |
5000 - 65000 | Incoming | Range of source ports used when sending spooled files using a *LAN printer device description. This includes *LAN IPDS DEVDs, as well as *LAN 3812 PJL, *LAN 3812 SNMP, *LAN 3812 IPP DEVDs and *LAN 3812 Network Station DEVDs. |
5001, 9100 or 9600 | Outgoing | TCP/IP ports used for many IPDS-capable printers when sending spooled files using a *LAN IPDS printer device description. For a list of TCP/IP ports used for *LAN 3812 PJL or SNMP DEVDs for all known printer models, refer to the following document: N1019440: Recommended IPDS Port Number Values for *LAN IPDS Device Descriptions |
6464 or 87 | Outgoing | TCP/IP ports used when sending spooled files using a *LAN 3812 Network Station printer device description. Port 6464 is typically used for a printer that is attached to the parallel port on an IBM Network Station and port 87 is typically used for a printer that is attached to the serial port on an IBM Network Station. Note: *LAN 3812 Network Station printer device description are rarely used, as the IBM Network Station has not been marketed for several years. |
9100 | Outgoing | TCP/IP port used for a majority of ASCII printers when sending spooled files using a *LAN 3812 PJL or SNMP printer device description. For a list of TCP/IP ports used for *LAN 3812 PJL or SNMP DEVDs for all known printer models, refer to the following IBM Rochester Support Center knowledgebase documents: N1019689: Recommended PJL Port Number Values for *LAN 3812 PJL Device Descriptions N1019571: Recommended SNMP Port Number Values for *LAN 3812 SNMP Device Descriptions |
9101 - 9102 | Outgoing | Additional TCP/IP ports used for multi-port external print servers when sending spooled files using a *LAN 3812 PJL or SNMP printer device description. |
TCP/IP Ports Used for Sending Printer Output to an IBM i System
Port or Range | Incoming or Outgoing | Description |
137 | Incoming | IBM i NetServer. TCP/IP port for name lookup requests to the NetBIOS Name Service. |
138 | Incoming | IBM i NetServer. Port 138 is used by NetServer to broadcast browse announcements to the network. These browse announcements are necessary if the NetServer is to show up in Windows Network Places. NetServer is fully functional with port 138 closed, but the IBM i System will not show up in Network Places. |
139 | Incoming | IBM i NetServer. TCP/IP port for the NetBIOS Session Service. This is used for both file and print sessions. |
445 | Incoming | IBM i NetServer. Native TCP Session Service for Windows 2000/XP. |
515 | Incoming | Line Printer Daemon (LPD) server. TCP/IP used to sending print data using the Line Printer Requester (LPR) protocol. |
8474 | Incoming | IBM i NetServer as-netprt server. TCP/IP port for sending print data using an IBM i NetServer printer share. |
9474 | Incoming | IBM i NetServer as-netprt server. TCP/IP port for sending print data using an IBM i NetServer printer share with an SSL connection. |
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]
Historical Number
620957481
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1011229