6379Port
TCPProtocol
redisIANA service nameDatabasesCategory
Port range
6379 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.
Security
Port 6379 should not be reachable from the public internet. Restrict it to trusted networks or a VPN, and scan your public IP to confirm it is closed.
Open port 6379 in a firewall
ufw sudo ufw allow 6379/tcp iptables sudo iptables -A INPUT -p tcp --dport 6379 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=6379/tcp Windows New-NetFirewallRule -DisplayName "Redis 6379" -Direction Inbound -Protocol TCP -LocalPort 6379 -Action Allow
Check if port 6379 is open
nc -vz example.com 6379 Test-NetConnection example.com -Port 6379 # PowerShell sudo ss -tulpn | grep ':6379 ' # what is listening locally (Linux)