This topic describes the ports on frontends (FEs) and backends (BEs) and how to access the ports.
FE
Ports
Port name | Default port number | Communication direction | Description |
---|---|---|---|
http_port |
| FE <--> User | The HTTP server port on the FE. |
rpc_port | 9020 | BE --> FE FE <--> FE | The Thrift server port on the FE. |
query_port | 9030 | FE <--> User | The MySQL server port on the FE. |
Access the FE UI
Enter
FE_IP:http_port
in the address bar of a browser to access the FE UI. Note In most cases,
FE_IP
is a public IP address. BE
Ports
Port name | Default port number | Communication direction | Description |
---|---|---|---|
be_port | 9060 | FE --> BE | The Thrift server port on the BE. This port is used to receive requests from an FE. |
webserver_port |
| BE <--> BE | The HTTP server port on the BE. |
heartbeat_service_port | 9050 | FE --> BE | The heartbeat service port for the Thrift server on the BE. This port is used to receive heartbeat messages from an FE. |
brpc_port | 8060 | FE <--> BE BE <--> BE | The better Remote Procedure Call (bRPC) port on the BE. This port is used to communicate with another BE. |
Access the ports
You can run the
curl http://be_ip:webserver_port/metrics
command to obtain information about metrics. Note In most cases,
be_ip
is an internal IP address. FAQ
Why do I fail to access a StarRocks cluster by using port 8030 or port 8040?