I used the following command to get the Ephemeral Ports range in Windows 7:

netsh int ipv4 show dynamicport tcp

And the result was the following:

Protocol tcp Dynamic Port Range
Start Port      : 1025
Number of Ports : 13976

Is this is the real default range of Ephemeral Ports in Windows 7, or has the default range been changed somehow (maybe by a software installed on my system)? because I have read that starting from Windows Vista the new default start port is 49152:

To comply with Internet Assigned Numbers Authority (IANA) recommendations, Microsoft has increased the dynamic client port range for outgoing connections in Windows Vista and in Windows Server 2008. The new default start port is 49152, and the default end port is 65535. This is a change from the configuration of earlier versions of Windows that used a default port range of 1025 through 5000.

  • No repro on Windows 7 Home Premium 64 bit: i.imgur.com/PVEujHV.png. I get the expected results.
    – DavidPostill
    Jun 16, 2016 at 17:34
  • @DavidPostill I know it should be 49152 but I also have a windows 7 machine with 1025. See: stackoverflow.com/questions/40975904/…
    – Menelaos
    Dec 6, 2016 at 11:58
  • I can reproduce it on Windows 8.1. Start Port : 1025 Number of ports : 64510. Must be modified by software or service pack.
    – JB.
    Dec 12, 2016 at 8:31

1 Answer 1


No, it’s not. I tried on multiple VMs with Windows 7, 8.1 and 10, the result is always the same:

Protocol tcp Dynamic Port Range
Start Port      : 49152
Number of Ports : 16384

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .