I am trying following the cassandra getting started.
I have done the following command:
- docker pull cassandra:latest
- docker run –name cass_cluster cassandra:latest
this command start cycling without stopping, i tried to re-execute the container from the desktop app and digitdocker exec -it cass_cluster cqlsh
but it say this:
Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042': ConnectionRefusedError(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
The version of python and java are the following:
java
openjdk version “19.0.2” 2023-01-17
OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)
python
Python 3.10.12
i have looked on internet how to resolve this problem , but nothing work