Configure Server Ports
This section discusses Client/Server TCP Port's and Mangement Ports in the NCache service config, how they assist with server functionality, and their default values.
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 the 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 the 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 cases of Partition-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"/>