9042

TCP

Cassandra

Apache Cassandra

⚠️ Security: DependsStatus: Active🗄️ Category: Database

📋 Basic Information

Port Number
9042
Protocol
TCP
Service
Cassandra
Popularity
Medium
Description
Apache Cassandra distributed NoSQL database for high availability
Tags
databasenosqldistributed

🔒 Security Information

💡

Security Notes

Client-to-node encryption, enable authentication, configure firewall

🛠️ Installation

🐧Linux

# Ubuntu/Debian
wget -q -O - https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -
echo "deb https://downloads.apache.org/cassandra/debian 40x main" | sudo tee /etc/apt/sources.list.d/cassandra.list
sudo apt update
sudo apt install cassandra -y
sudo systemctl start cassandra
sudo systemctl enable cassandra

🐳Docker

docker run -d --name cassandra -p 9042:9042 cassandra:latest

🔌Connect

docker exec -it cassandra cqlsh