Default ports
Client APIs
Application clients connect to these addresses.
API | Port | Server | Flag (default) |
---|---|---|---|
ysql | 5433 | yb-tserver | --pgsql_proxy_bind_address 0.0.0.0:5433 |
ycql | 9042 | yb-tserver | --cql_proxy_bind_address 0.0.0.0:9042 |
yedis | 6379 | yb-tserver | --redis_proxy_bind_address 0.0.0.0:6379 |
Internode RPC communication
Internode (server-to-server or node-to-node) communication is managed using RPC calls on these addresses.
Server | Port | Flag (default) |
---|---|---|
yb-master | 7100 | --rpc_bind_addresses 0.0.0.0:7100 |
yb-tserver | 9100 | --rpc_bind_addresses 0.0.0.0:9100 --tserver_master_addrs 0.0.0.0:7100 --server_broadcast_addresses 0.0.0.0:9100 |
If you want to log into the machines running these servers, then the ssh port 22
should be opened as well.
Admin web server
Admin web server UI can be viewed at these addresses.
Server | Port | Flag (default) |
---|---|---|
yb-master | 7000 | --webserver_interface 0.0.0.0 --webserver_port 7000 |
yb-tserver | 9000 | --webserver_interface 0.0.0.0 --webserver_port 9000 |
Firewall Rules
Along with the above, include the following common ports in firewall rules.
Service | Port |
---|---|
SSH | 22 |
HTTP for Platform | 80 |
HTTP for Platform (alternate) | 8080 |
HTTPS for Platform | 443 |
HTTP for Replicated | 8800 |
Prometheus monitoring
YugabyteDB servers expose time-series performance metrics in the Prometheus exposition format on multiple HTTP endpoints. These endpoints have the following structure.
<target>/prometheus-metrics
You can access the Prometheus server on port 9090
of the Platform node, and you can see the list of targets at the http://<yugaware-ip>:9090/targets
. In particular, note port 9300
for node level metrics.
Servers
Use the following targets to monitor yb-tserver
and yb-master
server metrics.
Server | Target |
---|---|
yb-master | <yb-master-address>:7000 |
yb-tserver | <yb-tserver-address>:9000 |
APIs
Use the following yb-tserver
targets for the various API metrics.
API | Target |
---|---|
ysql | <yb-tserver-address>:13000 |
ycql | <yb-tserver-address>:12000 |
yedis | <yb-tserver-address>:11000 |
For a quick tutorial on using Prometheus with YugabyteDB, see Observability with Prometheus.