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

查看:577
本文介绍了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

  • 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加密的节点间通信仍然使用端口7001

@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 (如果已启用TLS)

  • 7001 - TLS互动通讯(如果启用TLS则使用)

  • 9160 - Thrift客户端API

  • 9042 - CQL本地传输端口

  • 7199 - JMX (was 8080 pre Cassandra 0.8.xx)
  • 7000 - Internode communication (not used if TLS enabled)
  • 7001 - TLS Internode communication (used if TLS enabled)
  • 9160 - Thrift client API
  • 9042 - CQL native transport port

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

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