Firewalls are generally used to secure networks / environments from unwanted or unrecognized traffic sources. If you have a firewall enabled in your environment then NCache can also be configured to run with a firewall without any issues.
NCache deals in two types of communications, cache server to cache server (within the cluster) and client application to cache servers. Therefore, in a firewalled environment, it is required that NCache ports are open to allow these communications.
Here are details of all required NCache Ports:
You need to open the following ports only if you are monitoring NCache clusters through Prometheus or SNMP:
You need to open the following ports only if you want to use the bridge feature of NCache:
In the following scenarios, we've explained which ports should be opened for NCache to work:
For environments where Web/App servers and cache servers are placed in separate networks (like private networks) and a firewall is placed between them, port 9800 should be open on all cache servers for client-server communication.
If your business needs require having a firewall enabled, you should allow communication on all the required NCache ports.
If there is a firewall between NCache server nodes then you need to open Cluster Ports and NCache Service port for successful cluster communication and management.
Since the cache servers are usually present in a secure environment, a firewall isn’t typically needed. But, if you still have a firewall enabled then NCache still allows you communication between server nodes if you have opened the required ports.
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.