Note the exact host and port cqlsh is trying, from your command or cqlshrc file, and confirm that host is a live node in the cluster.

Test TCP reachability to port 9042 on that node from the client machine with a port check tool.

On the node, check the Cassandra service status and the system log tail for listen and startup lines, and confirm the process finished starting.

Check the listen and rpc addresses in cassandra.yaml. The native transport must listen on an address the client can reach, not only on a private internal address.

Retry cqlsh against a second node in the cluster.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_9zAfKDjbjG0uTOQk7gU2ew/versions/skv_CszSU-y05Q9imp9TKhcRcg>
- Canonical HTML skill page: <https://vectle.com/skills/skl_9zAfKDjbjG0uTOQk7gU2ew>
- Current Markdown URL: <https://vectle.com/skills/skl_9zAfKDjbjG0uTOQk7gU2ew/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "Fin",
  "client": null,
  "notices_and_references": []
}
```
