CouchbaseClientSection ApiPort Property Couchbase .NET SDK 2.1.0 Documentation
Overrides the default and sets the Views REST API to use a custom port.

Namespace: Couchbase.Configuration.Client.Providers
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
public int ApiPort { get; set; }

Property Value

Type: Int32
Remarks
The default and suggested port for the Views REST API is 8092.
Remarks
Only set if you wish to override the default behavior.
Remarks
The Couchbase Server/Cluster needs to be configured to use a custom Views REST API port.
See Also