<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>According to <a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/Ephemeral_port">https://en.wikipedia.org/wiki/Ephemeral_port</a> the
      range of private ports seems to be OS dependent, though IANA
      suggests the one you mentioned. Some OS give the administrator the
      possibility to modify that range.<br>
    </p>
    <p>For system and user ports, you can find the ones registered by
      IANA on
<a class="moz-txt-link-freetext" href="https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml">https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml</a></p>
    <p>These are a few large ranges that are currently marked as
      unassined by IANA in above list:</p>
    <p>29170-29998<br>
      41798-42507<br>
      43442-44122<br>
      46337-46997<br>
      35358-36000<br>
      39064-39680<br>
      36866-37471<br>
      41231-41793<br>
      26490-26999</p>
    <p>Note that on Linux you need to stay below port 32768 to stay in
      the user range.<br>
    </p>
    claudio<br>
    <p>On 15.12.22 00:19, Joerg wrote:<br>
    </p>
    <blockquote type="cite"
      cite="mid:0F7BE3B8-82EE-413E-A0CD-26FB32DD9A6E@iaeth.ch">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      There are three types of port numbers
      <div>- system ports: 0..1023</div>
      <div>- user ports: 1024..49151</div>
      <div>- private ports: 49152..65535</div>
      <div><br>
      </div>
      <div>On most systems:</div>
      <div>- system ports (well known ports) normally need admin rights
        and should not be used for own applications.</div>
      <div>- user ports can be used for own applications but can be
        registered with IANA to avoid conflicts with other applications</div>
      <div>- private (aka dynamic, aka ephemeral) ports are not
        registered.</div>
      <div><br>
        <div dir="ltr">br<br>
          <div>Jörg</div>
        </div>
        <div dir="ltr"><br>
          <blockquote type="cite">Am 14.12.2022 um 23:56 schrieb Aubrey
            McIntosh <a class="moz-txt-link-rfc2396E" href="mailto:aubrey.mcintosh@utexas.edu"><aubrey.mcintosh@utexas.edu></a>:<br>
            <br>
          </blockquote>
        </div>
        <blockquote type="cite">
          <div dir="ltr">
            <div dir="ltr">
              <div>Although 1934 might be more auspicious.</div>
              <div><br>
              </div>
            </div>
            <br>
            <div class="gmail_quote">
              <div dir="ltr" class="gmail_attr">On Wed, Dec 14, 2022 at
                4:52 PM Aubrey McIntosh <<a
                  href="mailto:aubrey.mcintosh@utexas.edu"
                  moz-do-not-send="true" class="moz-txt-link-freetext">aubrey.mcintosh@utexas.edu</a>>
                wrote:<br>
              </div>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex">
                <div dir="ltr">
                  <div>What is a good port number to use with the
                    Component Pascal CommServer program?</div>
                  <div><br>
                  </div>
                  <div>The default port, 900, as distributed appears to
                    be unavailable to an ordinary user in Ubuntu.  It is
                    possible to run the server as a privileged user and
                    use port 900.<br>
                  </div>
                  <div><br>
                  </div>
                  <div>I have temporarily chosen 1951 for testing my own
                    project, and to run it as an ordinary user.<br>
                  </div>
                  <div>
                    <div>
                      <div><br>
                        -- <br>
                        <div dir="ltr">
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div dir="ltr">
                                        <div dir="ltr">
                                          <div dir="ltr">Aubrey
                                            McIntosh, PhD</div>
                                          <div dir="ltr"><br>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
            <br clear="all">
            <br>
            -- <br>
            <div dir="ltr" class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">Aubrey McIntosh, PhD</div>
                              <div dir="ltr"><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <span>--</span><br>
            <span><a class="moz-txt-link-abbreviated" href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon
              and related systems</span><br>
            <span><a class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/oberon">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a></span><br>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">--
<a class="moz-txt-link-abbreviated" href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems
<a class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/oberon">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Claudio Nieder, Ruhestrasse 7, 8045 Zürich, 079 357 67 43</pre>
  </body>
</html>