Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Port number explanation

by arden (Curate)
on Feb 06, 2004 at 16:22 UTC ( [id://327118]=note: print w/replies, xml ) Need Help??


in reply to Port number expanation

A port number is a way of identifying a service on a machine. There are default port numbers, like 25 for SMTP, 23 for Telnet, 22 for SSH, 80 for HTTP, 443 for SSL, etcetera, but they can be changed. Only services offering something on a network (even if it is itself) need port numbers, so perl in itself doesn't have a port number.

One way to look at port address is this analogy: The IP# is the Zip/Postal code for your town, the port number is your house. I know, it's not the best analogy, but it works. . .

Update: Fletch is correct, 443 is for HTTP over SSL.
    FTP uses 20 & 21, POP3 uses 110, DNS uses 53, finger uses 79, and my favorite, gopher, uses 70. For a listing of port assignments, look here.

Replies are listed 'Best First'.
Re: Re: Port number expanation
by Fletch (Bishop) on Feb 06, 2004 at 17:40 UTC

    Technically 443 is for HTTP over SSL. SSL (or TLS) can be used to encrypt many different TCP protocols (IMAP, POP, SMTP, HTTP, Telnet, ...).</pedant>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://327118]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found