Служба Cadence запущена и работает в контейнере docker, а Cassandra работает вне контейнера docker (на локальном хосте). Примечание: я использую Docker -desktop на windows 10
, получая ошибку ниже:
cadence_1 | Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
cadence_1 | + echo 'waiting for cassandra to start up'
cadence_1 | + sleep 1
cadence_1 | waiting for cassandra to start up
cadence_1 | + cqlsh --cqlversion=3.4.4
cadence_1 | Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
cadence_1 | + echo 'waiting for cassandra to start up'
cadence_1 | + sleep 1
cadence_1 | waiting for cassandra to start up
cadence_1 | + cqlsh --cqlversion=3.4.4
cadence_1 | Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
cadence_1 | + echo 'waiting for cassandra to start up'