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