Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* "25" versus "SMTP"
@ 1994-08-08 18:25 Eric Lease Morgan
  0 siblings, 0 replies; only message in thread
From: Eric Lease Morgan @ 1994-08-08 18:25 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-08-08 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-08 18:25 "25" versus "SMTP" Eric Lease Morgan

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