Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
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.


In reply to Re: Port number explanation by arden
in thread Port number expanation by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2022-01-20 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (56 votes). Check out past polls.

    Notices?