Messaging & Cache
Risk: Critical

Port 6379 β€” Redis In-Memory Key-Value Store

Port 6379 is the default port for Redis in-memory cache and message broker. The number 6379 corresponds to the letters "MERZ" on a telephone keypad (named after Italian singer Alessia Merz).

PORT NUMBER

6379

PROTOCOL

TCP

DEFAULT PROCESS

redis-server

FIREWALL TARGET

6379/tcp

Instant Terminal Fixes for Port 6379

macOS & Linux Terminal
1. Check who is listening on port 6379:
redis-cli ping || sudo ss -tulpn | grep 6379
2. Kill process occupying port 6379 (EADDRINUSE fix):
sudo systemctl stop redis || sudo kill -9 $(sudo lsof -t -i:6379)
3. UFW Firewall Allow rule:
sudo ufw deny 6379
Windows PowerShell (Admin)
1. Check listening port:
Get-NetTCPConnection -LocalPort 6379
2. Force kill process on port 6379:
Stop-Process -Id (Get-NetTCPConnection -LocalPort 6379).OwningProcess -Force
3. Docker Port Forwarding Mapping:
docker run -p 6379:6379 -d redis:alpine redis-server --requirepass securepass

Common Error Encountered

Could not connect to Redis at 127.0.0.1:6379: Connection refused

Security Advisory & Hardening

CRITICAL: Redis is designed to be accessed by trusted clients inside a secure private network. Publicly exposed Redis instances without passwords (`requirepass`) are regularly compromised by crypto-miners.

Frequently Asked Questions

Port 6379 Questions & Answers

Common questions regarding default services, kill commands, and firewall configurations.

Port 6379 is commonly used for Redis In-Memory Key-Value Store. Port 6379 is the default port for Redis in-memory cache and message broker. The number 6379 corresponds to the letters "MERZ" on a telephone keypad (named after Italian singer Alessia Merz).