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 <ferra...@gmail.com> 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 <vitaliy...@gmail.com> 
> 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

Reply via email to