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.