Dynamic Port Range in Windows Server 2008

  • Section(s): Networking, Network
  • Published on Dec 09, 2008.
  • Last Modified on Dec 09, 2008.
  • Last Modified by Nirmal Sharma.
  • Rated 1 out of 5 based on 1 votes.
This article explains the default Dynamic Port range in Windows Server 2008 and how to see the range using the NetSH command line tool.

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

About Nirmal Sharma

Nirmal is a Microsoft MVP in Directory Services and working as a Technical Architect/Consultant. He has been involved in Microsoft Technologies since 1994 and followed the progression of Microsoft Operating Systems and software. He is specialized in Directory Services, Microsoft Clustering, SQL, MOM, Exchange and Citrix. In his spare time, he likes to help others and write "internal" technical articles, white papers and tips on various Microsoft technologies. You can contact him at nirmal_sharma@mvps.org.


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred network administration tool?