Default Dynamic Port Range

Dynamic Port Range is used by the client computers (or a server acting as a client) to connect to Well Known Port Services or Root Services. A DNS Server is acting as a Server and listening on a specific Well Known Port (Port TCP and UDP 53). The Dynamic Port Range used by the client computers depend on the version of Operating Systems.

Port Range: 1024-65535

This port range is used by the computers running Windows XP, Windows 2000 Professional, and Windows Server 2003. A client computer running this version will always pick a port from the above mentioned Dynamic Port Range.

Port Range: 49152-65535

The Dynamic Port Range has been changed in the Windows Vista, Windows 7 and Windows Server 2008. By default, a fresh Windows Server 2008 installation will have this Dynamic Port Range configured. To see the port range, you can use the following commands:

  • NetSh INT IPV4 Show DynamicPort TCP
  • NetSh INT IPV4 Show DynamicPort UDP

To set or change the Dynamic Port Range:

  • NetSh INT IPV4 SET DynamicPort TCP Start=1024 num=65535
  • NetSh INT IPV4 SET DynamicPort UDP Start=1024 num=65535

2 thoughts on “Default Dynamic Port Range”

  1. Deepak Devakumar

    Hi Nirmal,

    I have query related to port range.

    How do i check when was the port range changed, like if i run a netsh command and set the different value, where it will be logged?

    Any command to check the same?
    This is because i see on Windows 2016 i see port range is changed to “start port: 1025 “, not sure how (which application or GPO setting or anyone running command manaully) its changed?

    thanks for your help.

    Thanks,
    Deepak

Leave a Comment

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top