Configure IP Binding in Multiple NICs
If you have multiple network cards (meaning multiple IP addresses) in your cache servers then you must bind NCache server to one of the IP addresses. NCache installer automatically binds the cache server to one of the IP addresses but you may want to change this binding based on your preference. Once bound, this IP address must be specified to identify this cache server both for cluster configuration (config.ncconf) and for client/server configuration (client.ncconf).
Step 1: Modify Alachisoft.NCache.Service.exe.config File
This file is located in %NCHOME%\bin\service folder on all cache servers. %NCHOME% is NCache install directory.
<appSettings>
...
<add key="NCacheServer.BindToIP" value="20.200.20.220">
...
<appSettings>
Please note that for .NET Core installation, the file name is Alachisoft.NCache.Service.dll.config.
Step 2: Restart NCache Service
Anytime you modify Alachisoft.NCache.Service.exe.config, you must restart NCache Service on all cache servers. Do the following in Windows PowerShell.
Restart-Service -Name ncachesvc
See Also
IP Binding Concepts
Create a Cache
Simulate Cache Usage
Monitor Caches in PerfMon
NCache Programmer's Guide