> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-parallel-read-in-order-multi-part.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 网络端口

> 可用网络端口及其用途说明

<Note>
  标记为 **默认** 的端口表示其端口号在 `/etc/clickhouse-server/config.xml` 中配置。要自定义设置，请在 `/etc/clickhouse-server/config.d/` 中添加文件。请参阅[配置文件](/zh/concepts/features/configuration/server-config/configuration-files)文档。
</Note>

| 端口 | 说明 | Cloud | OSS |
| - | - | - | - |
| 2181 | ZooKeeper 默认服务端口。**注意：ClickHouse Keeper 请参见 `9181`** | | ✓ |
| 8123 | HTTP 默认端口 | | ✓ |
| 8443 | HTTP SSL/TLS 默认端口 | ✓ | ✓ |
| 9000 | 原生协议端口 (也称 ClickHouse TCP 协议) 。供 ClickHouse 应用和进程使用，例如 `clickhouse-server`、`clickhouse-client` 以及原生 ClickHouse 工具。也用于执行分布式查询时的服务器间通信。 | | ✓ |
| 9004 | MySQL 兼容端口 | | ✓ |
| 9005 | PostgreSQL 兼容端口 (如果为 ClickHouse 启用了 SSL，也用于安全通信) 。 | | ✓ |
| 9009 | 用于底层数据访问的服务器间通信端口。用于数据交换、复制和服务器间通信。 | | ✓ |
| 9010 | 用于服务器间通信的 SSL/TLS 端口 | | ✓ |
| 9011 | 原生协议 PROXYv1 端口 | | ✓ |
| 9019 | JDBC bridge | | ✓ |
| 9100 | gRPC 端口 | | ✓ |
| 9181 | 推荐的 ClickHouse Keeper 端口 | | ✓ |
| 9234 | 推荐的 ClickHouse Keeper Raft 端口 (如果启用了 `<secure>1</secure>`，也用于安全通信) | | ✓ |
| 9363 | Prometheus 默认指标端口 | | ✓ |
| 9281 | 推荐的安全 SSL ClickHouse Keeper 端口 | | ✓ |
| 9440 | 原生协议 SSL/TLS 端口 | ✓ | ✓ |
| 42000 | Graphite 默认端口 | | ✓ |
