Re: Can not connect with cqlsh to something different than localhost

2014-12-08 Thread Richard Snowden
Ah! That did the trick! Thanks Sam! On Mon, Dec 8, 2014 at 8:49 PM, Sam Tunnicliffe wrote: > rpc_address (or rpc_interface) is used for client connections, > listen_address is for inter-node communication. > > > > On 8 December 2014 at 19:21, Richard Snowden > wrote

Re: Can not connect with cqlsh to something different than localhost

2014-12-08 Thread Richard Snowden
ep 9042 > > > On Mon, 8 Dec 2014 07:21 Richard Snowden > wrote: > >> I left listen_address blank - still I can't connect (connection refused). >> >> "cqlsh" -> OK >> "cqlsh ubuntu" -> fail ("ubuntu" is my hostname) &

Re: Can not connect with cqlsh to something different than localhost

2014-12-08 Thread Richard Snowden
you'll need to set the listen address to the IP of > the machine you want on each machine. I find the former to be less of a > pain to manage. > > > On Mon Dec 08 2014 at 2:49:55 AM Richard Snowden < > richard.t.snow...@gmail.com> wrote: > >> This di

Re: Can not connect with cqlsh to something different than localhost

2014-12-08 Thread Richard Snowden
l to change the interface. By default, Cassandra is > listening on localhost so your local cqlsh session works. > On Sun, 7 Dec 2014 23:44 Richard Snowden > wrote: > > I am running Cassandra 2.1.2 in an Ubuntu VM. > > > > "cqlsh" or "cqlsh localhost"

Can not connect with cqlsh to something different than localhost

2014-12-07 Thread Richard Snowden
I am running Cassandra 2.1.2 in an Ubuntu VM. "cqlsh" or "cqlsh localhost" works fine. But I can not connect from outside the VM (firewall, etc. disabled). Even when I do "cqlsh 192.168.111.136" in my VM I get connection refused. This is strange because when I check my network config I can see t