Network Port: 6379
Network Port Reference Guide
Registered Service Name
Redis In-Memory Store
Transport Protocol
TCP
Functional Overview
Port 6379 is the default port for Redis key-value in-memory data structure store, used for database caching, pub/sub messaging, and session management.
Security Risks & Vulnerabilities
Redis has no default password protection in legacy setups. Exposed Port 6379 can lead to unauthenticated remote code execution and full server compromise.
How to audit network port status
1. Scan Open Ports: Use our Port Scanner utility to verify if this port is actively listening on your host.
2. Verify Encryption: Audit the service layer to confirm SSL/TLS is protecting transmission payload.
3. Hardening Rules: Apply the firewall instructions below to shut down unauthorized inbound ports.
UFW Firewall Rules
Allow Command
sudo ufw allow 6379/tcp
Block Command
sudo ufw deny 6379/tcp
iptables Firewall Rules
Allow Command
sudo iptables -A INPUT -p tcp --dport 6379 -j ACCEPT
Block Command
sudo iptables -A INPUT -p tcp --dport 6379 -j DROP
Port Diagnostic Tools
Authoritative Standards
Port assignments governed by IANA. Well-known ports (0–1023) require IANA approval per RFC 6335.