What port(s) doesn't need administrator privilege to bind

Ragnarokkr Xia 6 Reputation points
2021-03-01T03:27:41.223+00:00

What port(s) (in TCP/IP) doesn't need administrator privilege to bind? It's heard that the so called high ports doesn't need administrator privilege to bind. What's the exact range of high ports? Does it vary on different versions of windows? Is there any official document describing such topic?

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,266 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
639 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,747 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,717 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Sunny Qi 10,896 Reputation points Microsoft Vendor
    2021-03-02T07:43:44.813+00:00

    Hi,

    Thanks for posting in Q&A platform.

    Programs are assigned a port number between 0 and 65,535. The first 1,024 ports are called well-known ports and have been assigned to specific programs. Programs listening for connections use consistent port numbers to make it easier for client programs to connect. The Internet Assigned Numbers Authority (IANA) assigns port numbers, known as well-known port numbers, to specific Application Layer protocols.

    If a program listens on a non-standard port number, then you need to specify the port number when connecting to it. Client programs typically use a random source port number above 1024 (1025-65535).

    Typically, the server side of an Application Layer protocol listens on the well-known port number. The client side of an Application Layer protocol uses either the well-known port number or, more commonly, a dynamically allocated port number. These dynamically allocated port numbers are used for the duration of the process and are also known as ephemeral or short-lived ports.

    So if you want to bind a specific port for a program, you could use 1025-65535.

    The following article identifies well-known ports which registered by IANA for your reference.

    Service Name and Transport Protocol Port Number Registry
    Please Note: Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.

    Best Regards,
    Sunny

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments