Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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

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?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2022-05-21 18:23 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (77 votes). Check out past polls.