Home Net Guide

Home / Port numbers / Port 9042

Port 9042: Apache Cassandra

Client connections to Cassandra databases. Port 9042 uses TCP.

Port
9042
Commonly used for
Apache Cassandra
Transport
TCP
Encrypted
Optional (TLS)
Range
User (registered) port, 1024 to 49151
Our advice
Keep it closed to the internet
IANA registration
Not assigned to any service

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 9042 is used for

Port 9042 is the native client port of Apache Cassandra, a distributed database built for very large data sets. Applications send their CQL queries to it. Compatible databases such as ScyllaDB use the same port.

Should port 9042 be open?

Cassandra ships with authentication disabled, on the assumption that it runs on a private network. Reachable from outside, its data is open to all. Enable authentication and keep the port internal.

IANA, which keeps the official list of port numbers, has not assigned port 9042 to any service. The use described here is a convention that software makers have settled on.

Related ports

  • Port 7000 (AirPlay, and Cassandra): AirPlay on Apple devices, or Cassandra cluster traffic
  • Port 27017 (MongoDB): connections to MongoDB databases
  • Port 9200 (Elasticsearch): the Elasticsearch search and analytics API

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 9001 (Tor relay (ORPort)) · Next: Port 9050 (Tor SOCKS proxy)