Port 995 is POP3 over TLS, the encrypted version of POP3 used by clients that download and remove mail from the server. It is normally meant to be reachable from the internet.
- Port
- 995
- Protocol
- TCP
- Service
- POP3S
- Expose to internet?
- Yes, usually
- Also used by
- Dovecot, Microsoft Exchange
Is port 995 safe to open?
The connection is encrypted, so it is safe to offer to users. As with IMAPS, the risk is brute force against mailbox passwords.
How to secure POP3S
- Block repeated authentication failures.
- Disable POP3 completely if your users only use IMAP.
- Close plain POP3 on port 110.
Check if port 995 is open
Linux: what is listening on this port
sudo ss -tlpn | grep ':995 'Windows (PowerShell): what is listening
Get-NetTCPConnection -LocalPort 995 -State Listen | Select-Object LocalAddress, OwningProcess, @{n='Process';e={(Get-Process -Id $_.OwningProcess).Name}}From another machine: is it reachable
nc -zv HOST 995
# or
nmap -p 995 HOST
# Windows
Test-NetConnection HOST -Port 995Test the POP3S service itself
openssl s_client -connect HOST:995 </dev/nullOpen port 995 in the firewall
ufw (Ubuntu, Debian)
sudo ufw allow 995/tcpfirewalld (RHEL, Rocky, Alma, Fedora)
sudo firewall-cmd --permanent --add-port=995/tcp
sudo firewall-cmd --reloadWindows Firewall (PowerShell, as Administrator)
New-NetFirewallRule -DisplayName "Allow 995/TCP" -Direction Inbound -Protocol TCP -LocalPort 995 -Action AllowMonitor port 995
Add a TCP port monitor for 995 and Statance connects to it from up to six regions, alerting you by email, Slack, Discord or PagerDuty when POP3S stops answering. TCP port monitoring.
Related ports
FAQ
What is port 995 used for?
Port 995 is POP3 over TLS, the encrypted version of POP3 used by clients that download and remove mail from the server. It is also used by Dovecot, Microsoft Exchange.
Is it safe to open port 995?
Usually, yes. The connection is encrypted, so it is safe to offer to users. As with IMAPS, the risk is brute force against mailbox passwords.
Is port 995 TCP or UDP?
POP3S uses TCP on port 995.
How do I check if port 995 is open?
On the server, run sudo ss -tulpn | grep ':995 ' (Linux) or Get-NetTCPConnection -LocalPort 995 (Windows) to see what is listening. From another machine, run nc -zv HOST 995 or Test-NetConnection HOST -Port 995.
Know the moment a port stops answering.
TCP, HTTP, DNS and SSL checks from six regions, plus server metrics from a one-line agent.