Port 995 (POP3S): What It Is & Security Guide

May 16, 2026
Updated May 16, 2026 Port Security Guides port 995 pop3s port 995 security what is port 995 open port 995 pop3s security guide secure pop3s port 995 vulnerabilities block port 995 pop3s hardening email security tcp port 995

What is Port 995 (POP3S)? Your Guide to Secure Email Retrieval

In the vast landscape of network communication, ports serve as crucial endpoints for various services. Among them, Port 995 stands out as the standard for POP3S, which is the secure version of the Post Office Protocol version 3 (POP3). Essentially, POP3S allows email clients to retrieve emails from a mail server using an encrypted connection, safeguarding your sensitive communications from eavesdropping and tampering.

While the internet offers numerous ways to access email, from webmail interfaces to sophisticated IMAP clients, POP3S remains a fundamental protocol for many users and organizations who prefer to download their emails directly to their local devices. The 'S' in POP3S signifies the use of SSL/TLS (Secure Sockets Layer/Transport Layer Security) encryption, transforming an otherwise unencrypted protocol (POP3 on port 110) into a secure channel. This encryption is vital for protecting usernames, passwords, and the content of your emails as they travel across the network.

Understanding Port 995 and POP3S is not just about knowing how your email works; it's about comprehending a critical component of your digital security posture. Even though POP3S is inherently designed for security, misconfigurations, outdated software, or weak server practices can introduce vulnerabilities. This comprehensive guide will delve into the technical details of Port 995, explore its security implications, discuss common attack vectors, and provide actionable steps to ensure your POP3S implementation is as secure as possible. Whether you're a system administrator, a developer, or simply an email user, securing Port 995 is a step towards a safer online experience.

Want to check your site right now?

Port Scanner →  ·  Website Vulnerability Scanner

Port 995 Technical Details: Understanding POP3S

To fully grasp the security aspects of Port 995, it's essential to understand its technical underpinnings. POP3S is built upon the foundational POP3 protocol but enhances it with a layer of encryption.

AttributeValue
Port Number995
ProtocolTCP (Transmission Control Protocol)
ServicePOP3S (Post Office Protocol 3 Secure)
Risk LevelLow (when properly configured)
DescriptionPOP3 over SSL/TLS for secure email retrieval
Default POP3 Port110 (unencrypted)

How POP3S Works:

  1. Client-Server Model: POP3S operates on a client-server model. Your email client (e.g., Outlook, Thunderbird, Apple Mail) acts as the client, connecting to a mail server that hosts your inbox.
  2. TCP Connection: The client initiates a TCP connection to the server on Port 995. TCP ensures reliable, ordered, and error-checked delivery of data streams between the client and server.
  3. SSL/TLS Handshake: Immediately after the TCP connection is established, an SSL/TLS handshake occurs. During this process, the client and server negotiate encryption algorithms, exchange cryptographic keys, and the server presents its digital certificate to the client. The client verifies this certificate to ensure it's communicating with the legitimate server and not an imposter.
  4. Encrypted Communication: Once the SSL/TLS handshake is successful, all subsequent communication – including username, password, email headers, and email content – is encrypted. This prevents unauthorized parties from intercepting and reading the data.
  5. Email Retrieval: The client then sends commands to the server (e.g., USER, PASS, LIST, RETR, DELE) to authenticate, list available emails, retrieve specific messages, and optionally delete them from the server.
  6. Connection Termination: After retrieving emails, the client typically sends a QUIT command, and the connection is gracefully terminated.

The primary advantage of POP3S over its unencrypted counterpart (POP3 on port 110) is the confidentiality and integrity it provides. Without SSL/TLS, credentials and email content would be transmitted in plain text, making them trivial for attackers to intercept using tools like Wireshark. With POP3S, this critical data is protected, significantly reducing the risk of man-in-the-middle attacks and credential theft.

Security Risks of Open Port 995

While Port 995 and POP3S are designed with security in mind, labeling its inherent risk as 'low' doesn't mean it's immune to threats. The security of POP3S heavily relies on proper implementation and configuration. An open Port 995, especially if misconfigured or running vulnerable software, can still pose significant risks. Attackers constantly seek weak points, and even a secure protocol can be compromised through negligence or oversight.

Common Attacks on Port 995

Understanding the general risks helps, but knowing the specific attack methodologies provides a clearer picture of how Port 995 can be targeted. Attackers often combine multiple techniques to achieve their objectives.

How to Check if Port 995 is Open

Before you can secure Port 995, you need to know if it's currently open and accessible on your network or server. An open port means that a service is listening for incoming connections on that specific port. There are several methods to check port status, ranging from command-line tools to online scanners.

Using Nmap (Network Mapper)

Nmap is a powerful, open-source tool for network discovery and security auditing. It's widely used by security professionals and system administrators. If you have Nmap installed on a Linux, macOS, or Windows machine, you can use the following commands:

# Basic check for a single target\nnmap -p 995 target.com\n\n# Check for multiple targets (e.g., a range of IPs)\nnmap -p 995 192.168.1.1-254\n\n# Verbose output with service version detection\nnmap -p 995 -sV target.com\n\n# Check for all TCP ports including 995 (can take a long time)\nnmap -p- target.com\n

Explanation:

  • -p 995: Specifies that Nmap should only scan port 995.
  • target.com or 192.168.1.1: Replace with the IP address or hostname of the server you want to scan.
  • -sV: Attempts to determine the service version running on the open port.

Interpreting Nmap Results:

  • 995/tcp open pop3s: Indicates that Port 995 is open and a POP3S service is likely running.
  • 995/tcp closed: The port is not open and no service is listening.
  • 995/tcp filtered: A firewall is blocking Nmap from determining if the port is open or closed.

Using Netcat (nc)

Netcat is another versatile command-line utility for reading from and writing to network connections. It can be used for a quick check:

nc -zv target.com 995\n

If the port is open, you might see output like Connection to target.com 995 port [tcp/pop3s] succeeded!. If it's closed or filtered, the command will likely hang or return an error.

Using Online Port Scanners

For a quick external check without installing software, online port scanners are invaluable. These tools scan your public IP address from the internet, showing which ports are accessible from the outside world.

You can easily scan port 995 with our free tool: Secably Port Scanner. Simply enter your public IP address or domain name, specify port 995, and the scanner will report its status from an external perspective. This is particularly useful for verifying firewall configurations and ensuring that only intended services are exposed.

Using Telnet (for basic connectivity)

While not ideal for security scanning, Telnet can confirm basic connectivity:

telnet target.com 995\n

If the port is open, you'll see a blank screen or a response from the POP3S server (though it will immediately initiate TLS, so you won't see plain text POP3 commands). If it's closed, you'll get a connection refused error.

Regularly checking the status of your ports, especially those like 995 that handle sensitive data, is a fundamental practice in maintaining network security. It helps you identify unintended exposures and verify that your security measures are working as expected.

Free Security Tools

Scan your website, check open ports, find subdomains — no signup required.

See all tools →

How to Secure Port 995: Hardening Your POP3S Service

Securing Port 995 and your POP3S service is paramount for protecting email communications. Even with its inherent encryption, a 'low risk' port can become a high-risk vulnerability without proper hardening. Implementing a multi-layered security approach is crucial to mitigate potential threats.

When Should Port 995 Be Open?

Deciding whether to open or close a port is a critical security decision. For Port 995, the answer depends entirely on whether you or your organization needs to provide or access email services using the POP3S protocol.

Legitimate Use Cases for an Open Port 995:

  1. Email Server Hosting: If you are running a mail server (e.g., a self-hosted server with Dovecot, Postfix, or Microsoft Exchange) and your users retrieve their emails using POP3S clients (like Outlook, Thunderbird, Apple Mail, or various mobile email apps), then Port 995 must be open on your server's firewall. This allows legitimate email clients to connect and download messages securely.
  2. Email Client Configuration: If you are an individual user configuring an email client to connect to a remote mail server that uses POP3S, your local network's firewall (if any) might need to allow outbound connections on Port 995. However, this is typically handled by default, as most consumer routers allow outbound traffic. The primary concern is the server-side firewall.
  3. Specific Application Requirements: Some legacy applications or custom scripts might be configured to retrieve emails via POP3S. In such cases, Port 995 would need to be open to allow these applications to function correctly.

When Port 995 Should NOT Be Open:

  • No POP3S Service Running: If your server does not host a POP3S service, or if you primarily use other protocols like IMAPS (Port 993) or webmail for email access, then Port 995 should be closed. Keeping unnecessary ports open increases your attack surface.
  • Alternative Email Access Methods: Many users now rely on IMAP (IMAPS on Port 993) for email retrieval, which keeps emails on the server, or webmail interfaces, which typically use HTTP/HTTPS (Ports 80/443). If these are your primary methods, POP3S might not be needed.
  • Internal-Only Access: If your POP3S server is only meant to be accessed by internal clients (e.g., within a corporate network), then Port 995 should only be open to your internal network segments, not to the wider internet. Use firewall rules to strictly limit external access.

In summary, Port 995 should only be open if there is a clear, legitimate need for a POP3S service to be accessible. Even when open, access should be restricted as much as possible through firewall rules to minimize exposure to potential threats. Always adhere to the principle of least privilege: only open ports that are absolutely necessary for your operations.

Is port 995 dangerous?

Port 995 itself is not inherently dangerous. It's the standard port for POP3S, which is the secure version of the Post Office Protocol 3, using SSL/TLS encryption. This means that communications over port 995 are encrypted, protecting your email content, usernames, and passwords from eavesdropping. However, like any network service, its security depends on proper configuration and maintenance. Misconfigurations (e.g., weak SSL/TLS ciphers, outdated server software) or weak user credentials can introduce vulnerabilities, making it a potential target for attackers. When properly secured, its risk level is generally considered low.

Should I close port 995?

You should close port 995 if you are not running a POP3S email server or if your email access methods do not rely on POP3S (e.g., you use IMAPS on port 993, or primarily access email via webmail). Keeping unnecessary ports closed reduces your attack surface. If you *are* running a POP3S server, you should not close it, but instead, secure it rigorously by implementing strong firewall rules to restrict access to trusted IP addresses, keeping software updated, and enforcing strong authentication.

How do I block port 995?

You can block port 995 using firewall rules on your server or network device. Here are examples for common Linux firewalls:

Using iptables (Linux):

# Block incoming TCP connections to port 995\nsudo iptables -A INPUT -p tcp --dport 995 -j DROP\n\n# To save the rules (important for persistence across reboots)\n# On Debian/Ubuntu:\nsudo apt-get install iptables-persistent\nsudo netfilter-persistent save\n# On CentOS/RHEL:\nsudo service iptables save\n

Using UFW (Uncomplicated Firewall - Debian/Ubuntu):

# Deny incoming TCP connections to port 995\nsudo ufw deny 995/tcp\n\n# Enable UFW if it's not already enabled\nsudo ufw enable\n\n# Check UFW status\nsudo ufw status verbose\n

Remember to replace DROP with REJECT if you want the sender to receive an explicit rejection message instead of just timing out. Always test firewall rules carefully to avoid locking yourself out of your server.

What runs on port 995 by default?

By default, TCP port 995 is assigned to and runs the POP3S (Post Office Protocol 3 Secure) service. This service is used by email clients to securely retrieve emails from a mail server. The 'S' indicates that the communication is encrypted using SSL/TLS, providing confidentiality and integrity for the email retrieval process, including the transmission of usernames, passwords, and the email content itself. Common mail server software like Dovecot, Courier-POP3, and Microsoft Exchange can be configured to listen on port 995 for secure POP3 connections.

Scan for these vulnerabilities

Secably automatically detects the issues discussed in this article.

Start Free Scan