Cassandra 端口使用 - 如何使用端口? [英] Cassandra port usage - how are the ports used?

查看:24
本文介绍了Cassandra 端口使用 - 如何使用端口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用 Cassandra 进行试验时,我观察到 Cassandra 侦听以下端口:

When experimenting with Cassandra I've observed that Cassandra listens to the following ports:

  • TCP *:8080
  • TCP *:8888
  • TCP *:57311
  • TCP *:57312
  • TCP 127.0.0.1:7000
  • TCP 127.0.0.1:9160
  • UDP 127.0.0.1:700

Cassandra 如何使用列出的每个端口?

How does Cassandra use each of the ports listed?

推荐答案

@Schildmeijer 基本上是对的,但是在使用 TLS 加密节点间通信

@Schildmeijer is largely right, however port 7001 is still used when using TLS Encrypted Internode communication

所以我的完整列表是针对 Cassandra 的当前版本:

So my complete list would be for current versions of Cassandra:

  • 7199 - JMX(在 Cassandra 0.8.xx 之前是 8080)
  • 7000 - 节点间通信(如果启用 TLS,则不使用)
  • 7001 - TLS 节点间通信(在启用 TLS 时使用)
  • 9160 - Thrift 客户端 API
  • 9042 - CQL 原生传输端口

这篇关于Cassandra 端口使用 - 如何使用端口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆