-2
I created a virtual machine and installed Debian.
After I installed the Cassandra and checked the status to know that the bank is running.
but when executing the command cqlsh
in localhost I get the following message:
Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
Searching the Internet, they said to use cqlsh 127.0.01
, cqlsh 127.0.01:9042
, cqlsh <hostname>
and other variations and did not succeed.
The only change I made to the file cassandra.yaml
was to replace localhost
for 127.0.0.1
in these two settings rpc_adrress: 127.0.0.1
listen_address: 127.0.0.1
was that same way @Coutinhobr, was using the standard version of Java, and the Java Server needs to be version 8
– godoy.alexandre