Port 2095 (Webmail over HTTP)

Port 2095 is registered by IANA for the nbx-ser service (NBX SER), but on hosting servers it is best known as the Webmail port on cPanel servers, for…

Key facts

Port
2095
Protocols
TCP
Range
Registered port, 1024-49151
IANA service name
nbx-ser
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 2095

Port 2095 is registered by IANA for the nbx-ser service (NBX SER), but on hosting servers it is best known as the Webmail port on cPanel servers, for reading mail in the browser over plain HTTP without encryption.

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

What port 2095 is used for

  • Reading mail in the browser: mailbox owners open their mailbox from any computer without installing a mail client, for example at http://example.com:2095.
  • Managing the mailbox: Webmail also lets you change the mailbox password and set up autoresponders and forwarding.

Today you almost always log in to Webmail through the encrypted port 2096, and cPanel lets you redirect every login on port 2095 to the encrypted connection.

Port 2095 in the firewall

Since port 2095 sends the mailbox password unencrypted, it is better to keep it closed and open port 2096 instead:

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

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

Risks and security

On a connection to port 2095, the mailbox password and the messages travel across the network unencrypted, and anyone along the way, for example on a public Wi-Fi network, may be able to see them. These settings remove the risk:

  • In WHM, on the Tweak Settings screen, turn on the Always redirect to SSL/TLS option, which redirects every unencrypted login to the encrypted connection.
  • Tell users to log in with an address that starts with https, on port 2096.
  • Choose a strong, unique password for each mailbox.
  • Keep cPHulk turned on, to block repeated attempts to guess mailbox passwords.

Commands to check and configure

  • ss -tlnp | grep ':2095 '

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

  • curl -sI http://server.example.com:2095

    Shows the response headers from port 2095. When the redirect to SSL is on, the response points to an encrypted address.

  • nc -zv server.example.com 2095

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

  • ufw deny 2095/tcp

    Blocks incoming connections to port 2095 (UFW).

  • ufw allow 2096/tcp

    Opens the encrypted Webmail port 2096 to everyone (UFW).

  • firewall-cmd --permanent --remove-port=2095/tcp

    Deletes a firewalld rule that opened port 2095. Then run firewall-cmd --reload.

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

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

Port 2095 in the IANA registry

Port Protocol Service IANA registry description
2095 TCP nbx-ser NBX SER
2095 UDP nbx-ser NBX SER

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

Port 2095 FAQ

What's the difference between port 2095 and port 2096?

Both ports lead to the same Webmail. On port 2095 the connection is unencrypted, and on port 2096 it is encrypted with SSL/TLS. Use port 2096 to open your mailbox.

How do I log in to Webmail on a cPanel server?

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.

Can I close port 2095 in the firewall?

Yes, once all Webmail logins go through port 2096. Before you close it, we recommend turning on the redirect to SSL, so users who still use the old address are moved to the encrypted connection.

Can I also read my mail in a mail client or on my phone?

Yes. Mail clients and phone apps connect directly to the mail server, usually through port 993 for receiving mail and port 587 for sending. The email client settings page has all the settings.

Shopping cart

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

Site search

Accessibility

Text size
100%
Accessibility statement