Re: how to make cassandra listen not on 127.0.0.1 on 9042

2018-07-20 Thread Vitaliy Semochkin
Thank you very much for fast response Riccardo!
Setting rpc_interface to eth0 did the trick and now listen interface
works on eth0 as was specified.

PS
I wonder is it a bug or a feature?
E.g. I don't want to expose thrift rpc because all clients work via
CQL, why should I keep it exposed in order to expose cql 9042 port?
On Fri, Jul 20, 2018 at 4:25 PM Riccardo Ferrari  wrote:
>
> Hi,
>
> Have a look at the rcp_address description 
> http://cassandra.apache.org/doc/latest/configuration/cassandra_config_file.html?highlight=rpc_address#rpc-address.
>  what does your hostname resolves to?
>
> Best,
>
> On Fri, Jul 20, 2018 at 3:09 PM, Vitaliy Semochkin  
> wrote:
>>
>> Hi
>>
>> I'm building a cluster of cassandra RHEL 7
>> using cassandra 3.11.2 rpm
>>
>> I want cassandra to listen on 9042 on eth0 however
>> no matter what I do, it listens on 127.0.0.1
>> I tried to specify listen_address  instead but it doesn't work too.
>>
>> What am I missing?
>> How to make cassandra listen on 9042 other then 127.0.0.1?
>>
>> Regards,
>> Vitaliy
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
>> For additional commands, e-mail: user-h...@cassandra.apache.org
>>
>

-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org



Re: how to make cassandra listen not on 127.0.0.1 on 9042

2018-07-20 Thread Riccardo Ferrari
Hi,

Have a look at the rcp_address description
http://cassandra.apache.org/doc/latest/configuration/cassandra_config_file.html?highlight=rpc_address#rpc-address.
what does your hostname resolves to?

Best,

On Fri, Jul 20, 2018 at 3:09 PM, Vitaliy Semochkin 
wrote:

> Hi
>
> I'm building a cluster of cassandra RHEL 7
> using cassandra 3.11.2 rpm
>
> I want cassandra to listen on 9042 on eth0 however
> no matter what I do, it listens on 127.0.0.1
> I tried to specify listen_address  instead but it doesn't work too.
>
> What am I missing?
> How to make cassandra listen on 9042 other then 127.0.0.1?
>
> Regards,
> Vitaliy
>
> -
> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: user-h...@cassandra.apache.org
>
>


how to make cassandra listen not on 127.0.0.1 on 9042

2018-07-20 Thread Vitaliy Semochkin
Hi

I'm building a cluster of cassandra RHEL 7
using cassandra 3.11.2 rpm

I want cassandra to listen on 9042 on eth0 however
no matter what I do, it listens on 127.0.0.1
I tried to specify listen_address  instead but it doesn't work too.

What am I missing?
How to make cassandra listen on 9042 other then 127.0.0.1?

Regards,
Vitaliy

-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org