Tuesday 17 March 2015

How RPC Connections are established

All RPC services register a UUID (Universally Unique Identifier) within the registry - which are the consisent globally accross all platforms. When the RPC service initially starts it does not have a pre-determined port number - rather it requests an available RPC port (TCP port 49152-65535 on Windows 2008 and above) and then assigns that port to the UUID.

When a client attempts to connect to a specific RPC service most of time it does not know the respective port number and hence will query the RPC port mapper (on TCP port 135) with the UUID in order to obtain the correct port.


Post a Comment