我有HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\ReservedPorts设置为1153-1153 ,但有时IPv6程序分配此端口。 这是仅用于IPv4的设置吗? 他们的另一个地方是为IPv6设置吗?
Windows Server 2008和2008 R2不再支持ReservedPortsregistry项。
相反,使用netsh实用程序来保留端口,如下所示:
netsh int <ipv4|ipv6> Add excludedportrange [protocol=]tcp|udp [startport=]<integer> [numberofports=]<integer> [[store=]active|persistent]
资料来源: http : //support.microsoft.com/kb/2665809/en-us
编辑:您也可能需要安装首先在上述MS支持KB中find的Windows修补程序。