Port 993: IMAPS

Port 993 (TCP) is used by IMAPS. IMAP over TLS: the standard port mail apps use to read mail securely.

993Port
TCPProtocol
imapsIANA service name
EmailCategory

Port range

993 is a well-known (system) port (range 0–1023). On Linux and macOS, binding to it traditionally needs root or the CAP_NET_BIND_SERVICE capability.

Security

Only open port 993 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 993 in a firewall

ufw         sudo ufw allow 993/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 993 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=993/tcp
Windows     New-NetFirewallRule -DisplayName "IMAPS 993" -Direction Inbound -Protocol TCP -LocalPort 993 -Action Allow

Check if port 993 is open

nc -vz example.com 993
Test-NetConnection example.com -Port 993   # PowerShell
sudo ss -tulpn | grep ':993 '   # what is listening locally (Linux)

Other email ports

Frequently asked questions

What is port 993 used for?
IMAPS. IMAP over TLS: the standard port mail apps use to read mail securely.
Is port 993 TCP or UDP?
TCP.