To make sure that Redis Enterprise Software (RS) servers can pass necessary communications between them, we recommend that all RS servers have all of the ports listed here open between them.

By default, the cluster assigns ports in the range of 10,000 - 19,999 to database endpoints. If you assign a specific port for a database when you create it, even outside of this range, the cluster only verifies that the assigned port is not already in use. You must manually update your firewall with the port for that new database endpoint.

Ports and port ranges used by Redis Enterprise Software

ProtocolPortConnection SourceDescription
ICMP*InternalFor connectivity checking between nodes
TCP1968InternalProxy traffic
TCP3333, 3334, 3335, 3336, 3337, 3338, 3339, 36379, 36380InternalCluster traffic
TCP8001Internal, ExternalTraffic from application to RS Discovery Service
TCP8002, 8004InternalSystem health monitoring
TCP8443Internal, ExternalSecure (HTTPS) access to the management web UI
TCP8444, 9080InternalFor nginx <-> cnm_http/cm traffic
TCP9081Internal, Active-ActiveFor Active-Active management
TCP8070, 8071Internal, ExternalFor metrics exported and managed by nginx
TCP9443 (Recommended), 8080Internal, External, Active-ActiveREST API traffic, including cluster management and node bootstrap
TCP10000-19999Internal, External, Active-ActiveDatabase traffic
TCP20000-29999InternalDatabase shard traffic
UDP53, 5353Internal, ExternalDNS/mDNS traffic

Connection sources are:

  • Internal - The traffic is from other cluster nodes
  • External - The traffic is from client applications or external monitoring resources
  • Active-Active - The traffic is from clusters that host Active-Active databases

Changing the management web UI port

If for any reason you want to use a custom port for the RS Web UI instead of the default port (8443), you can change the port. Before you change the RS Web UI port, make sure that the new port is not in use by another process.

Note:

After you change the RS Web UI port, when you add a new node to the cluster you must connect to the web UI with the custom port number:

https://newnode.mycluster.example.com:<nonstandard-port-number>

To change the default port for the RS Web UI, on any node in the cluster run:

rladmin cluster config cm_port <new-port>

Disabling HTTP support for API endpoints

To harden deployments, you can disable the HTTP support for API endpoints that is supported by default. Before you disable HTTP support, make sure that you migrate any scripts or proxy configurations that use HTTP to the encrypted API endpoint to prevent broken connections. After you disable HTTP support, traffic sent to the unencrypted API endpoint is blocked.

To disable HTTP support for API endpoints, run:

rladmin cluster config http_support disabled