HTTPfy

Port 2096 (cPanel Webmail (HTTPS))

cPanel webmail over HTTPS (2095 is HTTP).

Registered (user) port, 1024-49151 TCP Email Meant to face the internet

What port 2096 is used for

cPanel webmail over HTTPS (2095 is HTTP).

Security: should port 2096 be open?

Meant to face the internet. Brute-force target; enable cPHulk.

IANA assignment

Service nameProtoDescriptionAssigneeReference
nbx-dir TCP NBX DIR Henry Houh -
nbx-dir UDP NBX DIR Henry Houh -

Check what is listening on port 2096

Linux: is anything listening on TCP 2096?
sudo ss -tlnp 'sport = :2096'
Linux / macOS: which process owns the port
sudo lsof -nP -i :2096
Older Linux / BSD (net-tools)
sudo netstat -tlnp | grep ':2096 '
Windows (Command Prompt)
netstat -ano | findstr :2096
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 2096 -State Listen | Select LocalAddress,OwningProcess

Test it from outside

From another machine
nc -vz -w 5 HOST 2096
From Windows
Test-NetConnection HOST -Port 2096

Open port 2096 in the firewall

ufw
sudo ufw allow 2096/tcp
iptables
sudo iptables -A INPUT -p tcp --dport 2096 -j ACCEPT
nftables
sudo nft add rule inet filter input tcp dport 2096 accept
Windows Firewall
New-NetFirewallRule -DisplayName 'Allow TCP 2096' -Direction Inbound -Protocol TCP -LocalPort 2096 -Action Allow

Related ports

All port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.