Skip to content
statance
MenuClose
← All ports

Port 993: IMAPS

Low risk

Port 993 is IMAP over TLS. Mail clients use it to read and sync mailboxes over an encrypted connection. It is normally meant to be reachable from the internet.

Port
993
Protocol
TCP
Service
IMAPS
Expose to internet?
Yes, usually
Also used by
Dovecot, Microsoft Exchange, Gmail, Microsoft 365

Is port 993 safe to open?

IMAPS is the standard way to offer mailbox access and is encrypted. The remaining risk is password guessing: a successful login exposes the whole mailbox and is often used for account takeover elsewhere.

How to secure IMAPS

  • Block repeated failed logins with fail2ban or your mail platform’s lockout settings.
  • Use strong passwords, app passwords or OAuth.
  • Disable plain IMAP on 143 if all clients support 993.

Check if port 993 is open

Linux: what is listening on this port

sudo ss -tlpn | grep ':993 '

Windows (PowerShell): what is listening

Get-NetTCPConnection -LocalPort 993 -State Listen | Select-Object LocalAddress, OwningProcess, @{n='Process';e={(Get-Process -Id $_.OwningProcess).Name}}

From another machine: is it reachable

nc -zv HOST 993 # or nmap -p 993 HOST # Windows Test-NetConnection HOST -Port 993

Test the IMAPS service itself

openssl s_client -connect HOST:993 </dev/null

Open port 993 in the firewall

ufw (Ubuntu, Debian)

sudo ufw allow 993/tcp

firewalld (RHEL, Rocky, Alma, Fedora)

sudo firewall-cmd --permanent --add-port=993/tcp sudo firewall-cmd --reload

Windows Firewall (PowerShell, as Administrator)

New-NetFirewallRule -DisplayName "Allow 993/TCP" -Direction Inbound -Protocol TCP -LocalPort 993 -Action Allow

Monitor port 993

Add a TCP port monitor for 993 and Statance connects to it from up to six regions, alerting you by email, Slack, Discord or PagerDuty when IMAPS stops answering. TCP port monitoring.

Related ports

Port 143IMAPMedium risk
Port 995POP3SLow risk
Port 587SMTP submissionLow risk

FAQ

What is port 993 used for?

Port 993 is IMAP over TLS. Mail clients use it to read and sync mailboxes over an encrypted connection. It is also used by Dovecot, Microsoft Exchange, Gmail, Microsoft 365.

Is it safe to open port 993?

Usually, yes. IMAPS is the standard way to offer mailbox access and is encrypted. The remaining risk is password guessing: a successful login exposes the whole mailbox and is often used for account takeover elsewhere.

Is port 993 TCP or UDP?

IMAPS uses TCP on port 993.

How do I check if port 993 is open?

On the server, run sudo ss -tulpn | grep ':993 ' (Linux) or Get-NetTCPConnection -LocalPort 993 (Windows) to see what is listening. From another machine, run nc -zv HOST 993 or Test-NetConnection HOST -Port 993.

All ports →

Know the moment a port stops answering.

TCP, HTTP, DNS and SSL checks from six regions, plus server metrics from a one-line agent.