Cassandra CQLSH – Unable to connect to any servers Tried connecting to [(‘127.0.0.1’, 9042)

Cassandra

When trying to connect to a node in the Cassandra Cluster using cqlsh, I get the “Unable to connect to any servers. Tried connecting to [(‘127.0.0.1’, 9042)” message. Learn how to modify the configuration so that the hostname is not required.