Port reference › Email
Port 993 · IMAPS
Encrypted IMAP
TCP Email Exposure risk: Low
What is port 993 used for?
IMAP over TLS. Most mail apps use it for incoming mail.
Well-known port (0-1023): opening it on Linux needs root (or CAP_NET_BIND_SERVICE).
Security notes
Nothing special.
Allow port 993 through the firewall
This port is generally fine to expose publicly.
sudo ufw allow 993/tcp
sudo ufw status sudo firewall-cmd --permanent --add-port=993/tcp
sudo firewall-cmd --reload sudo iptables -A INPUT -p tcp --dport 993 -j ACCEPT New-NetFirewallRule -DisplayName "Allow TCP 993" -Direction Inbound -Protocol TCP -LocalPort 993 -Action Allow # Replace sg-0123456789abcdef0 with your security group ID
aws ec2 authorize-security-group-ingress --group-id sg-0123456789abcdef0 --protocol tcp --port 993 --cidr 0.0.0.0/0 Check whether port 993 is open
sudo ss -tlpn | grep ':993 ' netstat -ano | findstr :993 nc -zv SERVER 993
# Windows
Test-NetConnection SERVER -Port 993 sudo lsof -i :993 Ports used together
- 143 IMAP · Mailbox sync (unencrypted)