Tools / Port checker / Port 9042
Port 9042: Apache Cassandra CQL
Native CQL client query port for Apache Cassandra and ScyllaDB.
Should port 9042 be open?
Should not face the public internet directly. Bind to localhost or a private network. Enable PasswordAuthenticator and keep strictly inside your private network.
Port 9042 still shows closed after router port forwarding?
If you opened TCP port 9042 on your router and host firewall yet external probes from Dallas, London, and Amsterdam still report No reply or Closed, your broadband ISP (such as Starlink, T-Mobile 5G Home Internet, or fiber CGNAT) likely places your router behind 100.64.0.0/10 Carrier-Grade NAT.
Verify your carrier in 5 seconds with our CGNAT Checker, or forward inbound TCP & UDP port 9042 cleanly to your home server using a dedicated public IPv4 on PrivateByte Static IP Gateway ($3/mo) (or our open-source Docker WireGuard sidecar).
Opening port 9042 in a server firewall
Replace 203.0.113.10 with the address that needs access, so only that address can reach the port.
Ubuntu or Debian with UFW:
sudo ufw allow from 203.0.113.10 to any port 9042 proto tcpRocky, Alma or CentOS with firewalld:
sudo firewall-cmd --permanent --add-port=9042/tcp && sudo firewall-cmd --reloadWindows Server, in PowerShell as administrator:
New-NetFirewallRule -DisplayName "Port 9042" -Direction Inbound -Protocol TCP -LocalPort 9042 -Action AllowThen check that the service listens on 0.0.0.0 (not only 127.0.0.1) and test again above.
Embed live server status & latency badge
Running a game server, public API, or open-source node? Generate a 5-minute cached live SVG status & millisecond RTT badge for your GitHub README, server list, or forum signature:
[](https://privatebyte.com/tools/port-checker/9042?host=one.one.one.one)<a href="https://privatebyte.com/tools/port-checker/9042?host=one.one.one.one"><img src="https://privatebyte.com/tools/badge/live.svg?host=one.one.one.one&port=9042" alt="one.one.one.one:9042 status via PrivateByte" height="22"></a>[url=https://privatebyte.com/tools/port-checker/9042?host=one.one.one.one][img]https://privatebyte.com/tools/badge/live.svg?host=one.one.one.one&port=9042[/img][/url]Check another port (150 documented ports)
Run your service on a PrivateByte KVM NVMe server (from $5.99/mo): dedicated IPv4, unmetered traffic, and every port yours to control.