Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions modules/install/pages/install-ports.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Couchbase Server Ports
:fn-eventing-debug-port: pass:n[footnote:fn-eventing-debug-port[pass:n[The Eventing Service Debugger port (9140, `debugPort`) is an internal port and is not supported for external access outside of the cluster. You should only use this port in your development environments.\]]]
:fn-eventing-debug-port: pass:n[footnote:fn-eventing-debug-port[pass:n[The Eventing Service Debugger port `eventing_debug_port` (9140) is an internal port and is not supported for external access outside of the cluster. You should only use this port in your development environments.\]]]
:fn-analytics-encrypted-port: footnote:fn-analytics-encrypted-port[The Analytics Service encrypted port (18095) is not currently used, but is reserved for future use.]

[abstract]
Expand Down Expand Up @@ -282,7 +282,7 @@ a| Search Service gRPC port used for xref:learn:services-and-indexes/services/se
| No
| No

| `debugPort` footnote:fn-eventing-debug-port[]
| `eventing_debug_port` footnote:fn-eventing-debug-port[]
| 9140
| Eventing Service Debugger
| No
Expand Down Expand Up @@ -353,6 +353,8 @@ Refer to <<table-ports-detailed>> for details about default ports and whether or

Changing the port mappings will require a reset and reconfiguration of any Couchbase Server node.

WARNING: Changing port mappings should only be done at the time of initial node/cluster setup as the required reset and reconfiguration will also purge all data on the node.

.To Change Port Mapping
. xref:install-intro.adoc[Install Couchbase Server].
. xref:startup-shutdown.adoc[Stop the Couchbase Server service].
Expand All @@ -365,18 +367,18 @@ vi /opt/couchbase/etc/couchbase/static_config
----
+
If you're remapping the CAPI port (8092 / 18092) you'll need to edit the [.path]_/opt/couchbase/etc/couchdb/default.d/capi.ini_ file and replace 8092 with the new port number.
. Add each custom port map entry on its own line, using the following format:
. Add each custom port map entry on its own line, using the following format (enclosed in braces and terminated by a period):
+
[source,console,subs=+quotes]
----
{[.var]_port-name_, [.var]_port-number_}
{[.var]_port-name_, [.var]_port-number_}.
----
+
For example, to change the REST API port from 8091 to 9000, you would add the following line:
+
[source,console]
----
{rest_port, 9000}
{rest_port, 9000}.
----
+
Once you've added all of your custom port mappings, save the file and close your text editor.
Expand Down