protocols are all active, like this:
Gossip active          : true
Thrift active          : true
Native Transport active: true

I used all kinds of address: hostname, localhost, 0.0.0.0, 127.0.0.1,
localip, publicip, doesn't work most times. But some time it just work fine

2016-03-17 22:28 GMT+08:00 Alain RODRIGUEZ <arodr...@gmail.com>:

> Hi, did you try with the address of the node rather than 127.0.0.1
>
> Is the transport protocol used by cqlsh (not sure if it is thrift or
> binary - native in 2.1)  active ? What is the "nodetool info" output ?
>
> C*heers,
> -----------------------
> Alain Rodriguez - al...@thelastpickle.com
> France
>
> The Last Pickle - Apache Cassandra Consulting
> http://www.thelastpickle.com
>
> 2016-03-17 14:26 GMT+01:00 joseph gao <gaojf.bok...@gmail.com>:
>
>> hi, all
>> cassandra version 2.1.7
>> When I use cqlsh to connect cassandra, something is wrong
>>
>> Connection error: ( Unable to connect to any servers', {'127.0.0.1':
>> OperationTimedOut('errors=None, last_host=None,)})
>>
>> This happens lots of times, but sometime it works just fine. Anybody
>> knows why?
>>
>> --
>> ------
>> Joseph Gao
>> PhoneNum:15210513582
>> QQ: 409343351
>>
>
>


-- 
------
Joseph Gao
PhoneNum:15210513582
QQ: 409343351

Reply via email to