• Facebook
  • Twitter
  • Youtube
  • LinkedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Try NCache
  • Contact Us
Try NCache
Show / Hide Table of Contents

Cache Server Ports

This page describes the NCache server ports used for client/server communication and communication between the NCache Service and CacheHost processes. It explains the default TCP ports and configurable management port range used by cache instances, along with the settings available in the NCache Service configuration file.

Client/Server TCP Port

The Client/Server TCP Port in the service config file specifies the port at which the cache server will listen for the incoming connection requests.

<add key="NCacheServer.Port" value="9800"/>

Management Ports

Warning

If all ports in the configured CacheHost management port range are occupied, cache creation fails and NCache displays an error indicating that a custom management port is required. The NCache Service remains responsive. In this case, manually add the cache configuration to config.ncconf and assign a management port to the same cache in CacheHostPorts.xml located at %NCHOME%\bin\service. The cache must be present in both files.

Management Port in the service config file specifies the port at which the cache management server listens for incoming connection requests.

<add key="NCacheServer.ManagementPort" value="9803"/>

When a cache is started in a separate CacheHost process, it is assigned a single CacheHost port, including for the Partition-Replica topology. The port is automatically assigned from the configured range. ManagementPortLower specifies the starting port from which the first available port is assigned, while ManagementPortUpper specifies the upper limit of the range.

<add key="NCacheServer.ManagementPortLower" value="9831"/>

<add key="NCacheServer.ManagementPortUpper" value="9880"/>

See Also

Cache Management
Cache Settings
Ports
Firewalls and Ports

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Try NCache
Pricing
NCache Playground

Deployments
  • Cloud
  • Docker
  • Kubernetes
  • On-Premises
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • SignalR Backplane
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Blogs
  • Foundations
  • Videos
  • Comparisons
  • Shows
  • Whitepapers
  • Articles
  • Tech Talks
  • Magazine Articles
  • Third-Party Articles
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Docs
  • Schedule a Demo
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Terms of Use
  •  
  • Privacy Policy
  •  
  • Cookie Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
  • Facebook
  • Twitter
  • Youtube
  • LinkedIn
  • RSS