Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

another port for 515

131 views
Skip to first unread message

Ace

unread,
Aug 15, 2012, 5:25:13 PM8/15/12
to
We have to send spooled output to a PC on another IP address (you know
PDFing ?) The AS400 is sending by default over port 515. Now the receiver
which is on another IP-address is getting weird commands from the other side
of the world and it's stopping the PDF-processor.

We like to have the AS400 use another port for LPD just for 1 outputq.
Anyone out there who can tell us how to do that.
Thanks
Ace.


CRPence

unread,
Aug 15, 2012, 8:04:28 PM8/15/12
to
Whatever is "weird" may require more investigation and more explicit
description for any good assistance because the port 515 would appear to
be correct; i.e. the spool data is sent to the listening port for LPD,
which is 515.

_i KB Reference #:​ 26754527 ​i_
http://www-01.ibm.com/support/docview.wss?uid=nas1995ddeb518a024d886256bac005113e2
"TCP/IP Ports Used by Line Printer Requester (LPR) in OS/400 or i5/OS

Technote

The operating system uses the Line Printer Requester (LPR) TCP-based
protocol when using the Send TCP/IP Spooled File (SNDTCPSPLF or LPR )
commands or when a Remote Output Queue (RMTOUTQ) has been configured
with the Connection type (CNNTYPE) parameter set to *IP. LPR on an IBM
System i system always uses destination port 515 for sending TCP/IP
frames to the remote device or remote system (for example, an IBM
Infoprint 1140 printer or another iSeries family system) and uses a
source port between 256 and 1024 for receiving TCP/IP frames from the
remote device or remote system.

According to the Internet Engineering Task Force (IETF) Web site,
www.ietf.org/ , RFC 1179 Line Printer Daemon Protocol, section 3.1
(Message formats) states that:

LPR is a TCP-based protocol. The port on which
a line printer daemon listens is 515. ...
"

--
Regards, Chuck

"René H. Hartman"

unread,
Aug 25, 2012, 10:32:31 AM8/25/12
to
Why not consider setting up a firewall on the receiving address that
only allows traffic to port 515 which originates from your AS400?
Eliminate the source, rather than circumventing it.

Ace

unread,
Sep 27, 2012, 5:23:36 AM9/27/12
to
We did. The problem is over.
Thanks

Ace.


""René H. Hartman"" <so...@no-spam.org> schreef in bericht
news:6d89$5038e1bc$5ed25940$10...@cache60.multikabel.net...
--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---
0 new messages