Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Eric Lease Morgan <eric_morgan@ncsu.edu>
Subject: "25" versus "SMTP"
Date: 8 Aug 1994 18:25:26 GMT	[thread overview]
Message-ID: <325tam$2ot@taco.cc.ncsu.edu> (raw)



"25" versus "SMTP"

When using perl, why do my connections to port "25" fail, but connections
to port "SMTP" succeed?

I wrote a perl/CGI script called ListWebber
(http://www.lib.ncsu.edu/staff/morgan/about-listwebber2.html). Its
purpose to to create and send SMTP messages on the behalf of WWW users.

I began writting this script under Ultrix 4.2a. It worked just fine. I
then moved it to my new Alpha and I kept getting "Connection refused"
when I tried to open an SMTP connection to my own machine. Upon
examination of the perl library (sock.pl) used to make my connections, I
noticed I could specify the port by number (25) or by name (SMTP). When I
changed my script to use the name instead of the number, the script
magically worked. Why?

Eric Lease Morgan
NCSU Libraries


                 reply	other threads:[~1994-08-08 18:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox