Port 6379: Redis

TCP 6379 is the port for Redis. Never on the internet. Bind to localhost or a private network and set a password / ACL.

Port 6379 at a glance
ServiceRedis
ProtocolTCP
Exposure riskHigh: do not expose to the internet
RangeRegistered (1024–49151)

Your public IP is pre-filled. The test connects over TCP from NetKit's server, so it shows what the internet sees.

What port 6379 does

The default port for Redis. Older Redis versions accepted unauthenticated connections from anywhere, and exposed instances are routinely hijacked for crypto-mining.

Should port 6379 be open?

Never on the internet. Bind to localhost or a private network and set a password / ACL.

Find what's listening on port 6379

  • Linux: sudo ss -tulpn | grep :6379
  • macOS: sudo lsof -nP -i :6379
  • Windows: netstat -ano | findstr :6379, then look up the PID in Task Manager.

Open or block it in a firewall

  • ufw: sudo ufw allow 6379/tcp (or deny)
  • firewalld: sudo firewall-cmd --add-port=6379/tcp --permanent && sudo firewall-cmd --reload
  • Windows: New-NetFirewallRule -DisplayName "Port 6379" -Direction Inbound -Protocol TCP -LocalPort 6379 -Action Allow

Port assignment per the IANA Service Name and Transport Protocol Port Number Registry. Test several ports at once with the port scanner, or any port with the open port checker.

Questions about port 6379

What is port 6379 used for?
Redis. The default port for Redis. Older Redis versions accepted unauthenticated connections from anywhere, and exposed instances are routinely hijacked for crypto-mining.
Is port 6379 TCP or UDP?
TCP. Redis uses TCP port 6379.
Is it safe to open port 6379?
High: do not expose to the internet. Never on the internet. Bind to localhost or a private network and set a password / ACL.
How do I check if port 6379 is open?
Use the checker on this page: it connects to your host on TCP 6379 from the internet. Locally, run nc -vz host 6379 (macOS/Linux) or Test-NetConnection host -Port 6379 (PowerShell). To see what is listening on your own machine, run ss -tulpn | grep :6379 (Linux) or netstat -ano | findstr :6379 (Windows).

← Port 5900 (VNC) · Port 8080 (HTTP alternate) →