Port numbers below 5000 may already be in use by other applications and could cause conflicts with your DCOM application(s). You should open up a range of ports above port 5000. All applications that use RPC dynamic port allocation use ports 5000 through 6000, inclusive. Under the Internet key, add the values Ports (MULTI_SZ), PortsInternetAvailable (REG_SZ), and UseInternetPorts (REG_SZ).įor example, the new registry key appears as follows: It isn't a recommendation of a minimum number of ports needed for any particular system.Īdd the Internet key under HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc In this example, ports 5000 through 6000 inclusive have been arbitrarily selected to help illustrate how the new registry key can be configured. If N, the processes using the default will be assigned ports from the set of intranet-only ports. If Y, the processes using the default will be assigned ports from the set of Internet-available ports, as defined previously. UseInternetPorts REG_SZ Y or N (not case-sensitive If N, the ports listed in the Ports key are all those ports that aren't Internet-available. If Y, the ports listed in the Ports key are all the Internet-available ports on that computer. PortsInternetAvailable REG_SZ Y or N (not case-sensitive) If any entries are outside the range of 0 to 65535, or if any string can't be interpreted, the RPC runtime treats the entire configuration as invalid. Each string represents a single port or an inclusive set of ports.įor example, a single port may be represented by 5984, and a set of ports may be represented by 5000-5100. Specifies a set of IP port ranges consisting of either all the ports available from the Internet or all the ports not available from the Internet. HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\Internet\Entry name Data Type The RPC Port key values discussed below are all located in the following key in the registry: With Registry Editor, you can modify the following parameters for RPC. For more information, see How to back up and restore the registry in Windows. Then, you can restore the registry if a problem occurs. For added protection, back up the registry before you modify it. Therefore, make sure that you follow these steps carefully. However, serious problems might occur if you modify the registry incorrectly. This section, method, or task contains steps that tell you how to modify the registry. The response has the server port number, and a subsequent RPC Bind on this port is then allowed to pass. Some firewalls also allow for UUID filtering where it learns from an RPC Endpoint Mapper request for an RPC interface UUID. The article also lists the RPC servers and which RPC servers can be configured to use custom server ports beyond the facilities the RPC runtime offers. You can find a comprehensive list of Server ports that are used in Windows and major Microsoft products in Service overview and network port requirements for Windows. And you can define what traffic is allowed in a more directed manner.Īs a server port, choose a port outside of the range you may want to specify below. When you can specify a dedicated server port, you know what traffic flows between the hosts across the firewall. Many RPC servers in Windows let you specify the server port in custom configuration items such as registry entries. For more information, see references below.Ĭustomers using firewalls may want to control which ports RPC is using so that their firewall router can be configured to forward only these Transmission Control Protocol (UDP and TCP) ports. RPC dynamic port allocation instructs the RPC program to use a particular random port in the range configured for TCP and UDP, based on the implementation of the operating system used. RPC dynamic port allocation is used by server applications and remote administration applications, such as Dynamic Host Configuration Protocol (DHCP) Manager, Windows Internet Name Service (WINS) Manager, and so on. This article helps you modify the Remote Procedure Call (RPC) parameters in the registry to make sure RPC dynamic port allocation can work with firewalls.Īpplies to: Windows Server 2012 R2 Original KB number: 154596 Summary
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |