Port 2087 (WHM over HTTPS)

Port 2087 is registered by IANA for the eli service (ELI - Event Logging Integration), but on hosting servers it is best known as the port for encrypted…

Key facts

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

Port 2087 is registered by IANA for the eli service (ELI - Event Logging Integration), but on hosting servers it is best known as the port for encrypted logins to WHM, cPanel's server administration interface.

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

What port 2087 is used for

  • Server administration: the server administrator logs in at an address such as https://server.example.com:2087, creates cPanel accounts, sets up packages and manages services, updates and security.
  • Resellers: reseller account holders manage their customers' accounts through WHM.
  • 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 2087 in the firewall

WHM is an interface for managing the whole server, so we recommend allowing access to port 2087 only from the server administrators' IP addresses:

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

When you restrict access to specific addresses, also delete any earlier rule that opened the port to everyone, or that general rule will keep allowing access from any address.

When you close port 2087 to the rest of the world, the license update mechanism keeps working through another interface port that stays open, for example port 2083. When resellers log in to WHM from changing addresses, you can connect them through a VPN and allow only the VPN address.

Risks and security

Anyone who logs in to WHM as root can change anything on the server, so protecting it is especially important. These settings keep it safe:

  • Restrict port 2087 to the server administrators' IP addresses.
  • Turn on two-factor authentication for every user who logs in to WHM.
  • Make sure cPHulk, the protection against password guessing, is running, or turn on CSF.
  • Give other administrators accounts with limited privileges, instead of sharing the root password.
  • Before you change the firewall rules, make sure you have an alternative way to reach the server, such as a console.

Commands to check and configure

  • ss -tlnp | grep ':2087 '

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

  • openssl s_client -connect server.example.com:2087 -servername server.example.com

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

  • nc -zv server.example.com 2087

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

  • ufw allow from 203.0.113.10 to any port 2087 proto tcp

    Allows logins to WHM only from the specified IP address (UFW).

  • firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="203.0.113.10" port port="2087" protocol="tcp" accept'

    Allows logins to WHM in firewalld only from the specified IP address. Then run firewall-cmd --reload.

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

    Deletes an earlier firewalld rule that opened port 2087 to everyone, after you have added a rule for a specific address. Then run firewall-cmd --reload.

  • csf -a 203.0.113.10

    Adds the IP address to the CSF allow list. Note: an address on this list is allowed on every port on the server.

Port 2087 in the IANA registry

Port Protocol Service IANA registry description
2087 TCP eli ELI - Event Logging Integration
2087 UDP eli ELI - Event Logging Integration

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

Port 2087 FAQ

How do I log in to WHM?

Open the server's hostname with port 2087 in your browser, for example https://server.example.com:2087, and log in as root or with a reseller account. The cPanel and WHM commands page has useful commands for managing the server from the command line.

How do I restrict WHM to my IP address?

Add a firewall rule that allows port 2087 only from your address, and delete the general rule that opened it to everyone. When your address changes, you can connect through a VPN and allow only the VPN address, or update the rule from the server console.

What happens to the cPanel license when I restrict the interface ports?

The license keeps working as long as one of ports 2082, 2083, 2086, 2087 or 2096 is open to incoming connections and the server can connect out to port 2089 on the licensing servers. Usually port 2083, which site owners use, stays open and is enough for that.

What's the difference between WHM and cPanel?

WHM is the server administration interface, where you create accounts and manage services and security. cPanel is the interface of each hosting account, where the site owner manages their files, mail and domains, through port 2083.

Shopping cart

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

Site search

Accessibility

Text size
100%
Accessibility statement