Dynamic Port Range is reserved by the Operating System. This range is assigned by the Internet Assigned Numbered Authority (IANA). The applications can't hard-code this port range for network communication. Microsoft developers have increased the default Dynamic Port range in Windows Vista and Windows Server 2008. The range is:
- 49152 through 65535
For Windows Vista and Windows Server 2008 - 1024 through 5000
For Windows 2003 and earlier
To show the Dynamic Port Range:
- Netsh int, ipv4 show dynamicport udp
- Netsh int, ipv4 show dynamicport tcp
- Netsh int, ipv6 show dynamicport udp
- Netsh int, ipv6 show dynamicport tcp
To set the Dynamic Port Range:
- Netsh int, ipv4 set dynamicport tcp start=xxxxx num=xxxxx
- Netsh int, ipv4 set dynamicport udp start=xxxxx num=xxxxx
- Netsh int, ipv6 set dynamicport tcp start=xxxxx num=xxxxx
- Netsh int, ipv6 set dynamicport udp start=xxxxx num=xxxxx