• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Set-CacheServerPublicIP

This PowerShell cmdlet sets a public IPv4 address for a cache server within an NCache cluster. It is used when client applications cannot connect to cache servers using private IP addresses and must communicate over a public network. The cmdlet updates the cache server's public IP mapping in the NCache service configuration.

Note

This cmdlet sets the public IP using the <add key="NCacheServer.PublicIP" value=""/> tag in the service config file at %NCHOME%\bin\service\Alachisoft.NCache.Service.dll.config in Windows.

Set-CacheServerPublicIP -PublicIP [-Server] [-Credentials] [-Port] [-NoLogo]

Examples

  • This command sets the public IPv4 address 20.200.20.11 for the cache server 192.168.1.10 (private IP).
Set-CacheServerPublicIP -Server 192.168.1.10 -PublicIP 20.200.20.11
  • This command sets the public IPv4 address 20.200.20.12 for the cache server 192.168.1.20 (private IP), using credentials for authentication.
Set-CacheServerPublicIP -Server 192.168.1.20 -PublicIP 20.200.20.12 -Credentials (Get-Credential john_smith)
  • This command sets the public IPv4 address 20.200.20.12 for the cache server 192.168.1.30 (private IP), while suppressing the logo banner output.
Set-CacheServerPublicIP -Server 192.168.1.30 -PublicIP 20.200.20.12 -NoLogo

Properties

Note

The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-PublicIP* <String> Specifies the public IPv4 address to assign to the cache server. Only IPv4 addresses are supported. -
-Server <String> Specifies the private IP address of the cache server where the public IP should be set. -
-Credentials <pscredential> Specifies credentials for authentication when setting the public IP on a remote cache server. -
-Port <Integer> Specifies the server port where NCache Service is listening. 8250
-NoLogo <SwitchParameter> Suppresses the display of the logo banner when executing the command. False

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
Download
Pricing
Try Playground

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

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top