Can't connect to cassandra node from different host

后端 未结 8 1326
無奈伤痛
無奈伤痛 2020-12-05 11:35

I have a cassandra node at a machine. When I access cqlsh from the same machne it works properly.

But when I tried to connect to it\'s cqlsh using \"192.x.x.x\" from

8条回答
  •  盖世英雄少女心
    2020-12-05 12:02

    1.Update:./conf/cassandra.yaml

    rpc_address: 0.0.0.0 ("0.0.0.0" allow anywhere IP,but you can appoint an IP)
    
    \# broadcast_rpc_address: 1.2.3.4 (Delete comment if rpc_address=0.0.0.0)
    

    2.restart

    ./bin/cassandra
    

    Case: I met a problem that I can't remote access cassandra When I using java access cassandra

提交回复
热议问题