Default Dynamic Port Range

by [Published on 23 Dec. 2010 / Last Updated on 31 Oct. 2009]

This article explains the default dynamic port range used by the client computers.

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

Featured Links