Port 2096 (Webmail over HTTPS)

Port 2096 is registered by IANA for the nbx-dir service (NBX DIR), but on hosting servers it is best known as the port for encrypted Webmail logins on…

Key facts

Port
2096
Protocols
TCP
Range
Registered port, 1024-49151
IANA service name
nbx-dir
Unofficial use
The use described on this page is not the IANA assignment for this port. Source (opens in a new tab) Checked on 30.11.2026

IANA assigns ports in this range to services on request, under RFC 6335.

About port 2096

Port 2096 is registered by IANA for the nbx-dir service (NBX DIR), but on hosting servers it is best known as the port for encrypted Webmail logins on cPanel servers, for reading mail in the browser.

Common use (unofficial): according to the cPanel documentation, the Webmail service accepts encrypted TCP connections on port 2096, and its unencrypted version runs on port 2095. This use is not the IANA assignment; it is documented by the software vendor.

What port 2096 is used for

  • Reading mail in the browser: mailbox owners log in at an address such as https://example.com:2096 to read, send and organize their mail from any computer, with nothing to install.
  • Managing the mailbox: password changes, autoresponders, forwarding and mail filters.
  • License updates: according to the cPanel documentation, the license update mechanism needs at least one of ports 2082, 2083, 2086, 2087 or 2096 open to incoming connections, and the server must be able to make outgoing TCP connections to port 2089 on the licensing servers.

Port 2096 in the firewall

Mailbox owners log in to Webmail from anywhere, so port 2096 usually stays open to everyone:

  • UFW: ufw allow 2096/tcp
  • firewalld: firewall-cmd --permanent --add-port=2096/tcp

In an organization where all staff connect from the office or through a VPN, you can restrict the port to the office and VPN addresses:

  • UFW: ufw allow from 203.0.113.10 to any port 2096 proto tcp
  • firewalld: firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="203.0.113.10" port port="2096" protocol="tcp" accept'

Keep the unencrypted port 2095 closed.

Risks and security

The connection on port 2096 is encrypted, so the password and the messages are protected in transit. The main risk is attempts to guess mailbox passwords, and these settings reduce it:

  • Choose a strong, unique password for each mailbox, and change any exposed password right away.
  • Keep cPHulk turned on, to block repeated attempts to guess passwords.
  • Make sure the server's hostname or the domain has a valid SSL certificate, so users don't get browser warnings.
  • Log out of Webmail when you finish working on a public or shared computer.

Commands to check and configure

  • ss -tlnp | grep ':2096 '

    Checks whether any service is listening on port 2096 on the server, and which process it is (requires root privileges).

  • openssl s_client -connect example.com:2096 -servername example.com

    Connects to port 2096 and shows the SSL certificate the server presents, including the name and the expiry date.

  • curl -sI https://example.com:2096

    Checks that Webmail responds over an encrypted connection, and shows the response headers.

  • nc -zv example.com 2096

    Checks from your computer whether port 2096 is open on the server.

  • ufw allow 2096/tcp

    Opens port 2096 to everyone (UFW).

  • firewall-cmd --permanent --add-port=2096/tcp

    Opens port 2096 in firewalld. Then run firewall-cmd --reload.

Port 2096 in the IANA registry

Port Protocol Service IANA registry description
2096 TCP nbx-dir NBX DIR
2096 UDP nbx-dir NBX DIR

Data source: IANA Service Name and Transport Protocol Port Number Registry (opens in a new tab)

Port 2096 FAQ

How do I open my mailbox in the browser?

Open your domain name with port 2096 in your browser, for example https://example.com:2096, and log in with the full email address and the mailbox password.

Why does my browser show a security warning when I open Webmail?

In most cases, the certificate the server presents doesn't match the address you typed, or it has expired. Try logging in with the domain name or the server's hostname. The SSL errors page explains the common warnings.

What's the difference between Webmail and a mail client?

Webmail runs in the browser and needs no installation, so it is convenient for logging in from any computer. A mail client or a phone app connects directly to the mail server, usually through port 993 and port 587. You can use both with the same mailbox.

Does port 2096 need to be open to everyone?

Yes, when mailbox owners log in from anywhere. In an organization where all staff connect from the office or through a VPN, you can restrict the port to the office and VPN addresses only.

Shopping cart

Your cart is emptyYou can start with one of our popular plans.

Site search

Accessibility

Text size
100%
Accessibility statement