How to change / view the ephemeral range of ports on Windows computers?

On Linux, I can view or change the ephemeral range of ports using a file /proc/sys/net/ipv4/ip_local_port_range.

How to view or change the ephemeral range of ports on a Windows computer?

+5
source share
2 answers

http://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html#Windows says:

Windows Vista Windows Server 2008, Windows (49152-65535), Microsoft 929851. , , , .

Windows (Windows XP ) Windows BSD 1024 4999 . , , . , Microsoft 196271:

  • (Regedt32.exe).
  • : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  • "" " ", :

    Value Name: MaxUserPort Data Type: REG_DWORD Value: 65534 <for example>

    : 5000-65534 () : 0x1388 (5000 )

    : , , . ( ) 1024 5000 .

  • .

. KB (812873), , , , 1024-9999 (), 10000-65534. ( 2004 ).

+4

ReservedPorts > Windows Server 2003.

netsh.

http://support.microsoft.com/kb/2665809

+1

All Articles