This is most likely because your listen address is set to localhost. Try changing it to listen on the external interface.
On Sat Jan 03 2015 at 10:03:57 AM Chamila Wijayarathna < cdwijayarat...@gmail.com> wrote: > Hello all, > > 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 another > machine, I'm getting an error saying > > Connection error: ('Unable to connect to any servers', {'192.x.x.x': > error(111, "Tried connecting to [('192.x.x.x', 9042)]. Last error: > Connection refused")}) > > What is the reason for this? How can I fix it? > > Thank You! > -- > *Chamila Dilshan Wijayarathna,* > SMIEEE, SMIESL, > Undergraduate, > Department of Computer Science and Engineering, > University of Moratuwa. >