Server Ports
Important
In case you want to update any cache settings please refer to the Update Cache Config section to follow the set of steps.
Configure Ports
Client/Server TCP Port
Client/Server TCP Port in service config will specify the port at which Cache Server will listen for incoming connection requests.
<add key="NCacheServer.Port" value = "9800"/>
Management Ports
Management Port in service config will specify the port at which Cache Management Server will listen for the incoming connection requests.
<add key="NCacheServer.ManagementPort" value="8250"/>
When a cache is started in its own separate process it is assigned a Management Port (Two incase of Partitioned of Replica topology). This port is assigned from a range of ports which can be configured by setting the below keys. ManagementPortLower is the starting port from which the first free port available will be consumed. The ManagementPortUpper is the upper limit.
<add key="NCacheServer.ManagementPortLower" value="8300"/>
<add key="NCacheServer.ManagementPortUpper" value="8400"/>