Skip to content

What is manage2.cpanel.net? How cPanel license validation works and how to fix it

manage2 is cPanel's account and license portal, and the server validates its license against it by public IP address alone. How the check works, and how to tell an IP change, a firewall block, and an expired license apart in a few minutes.

manage2.cpanel.net is cPanel’s account and license management system — the portal where a license gets bought, transferred, or has its IP address updated, and the system of record the server’s own license daemon checks against on a schedule. Those get conflated constantly: manage2 the portal is a website a human logs into; license validation is an automated network call the server makes on its own. A WHM banner reading “License is not valid” means the second one failed, not that anyone touched the first. The check keys on exactly one attribute of the server: its public IP address. Despite what circulates in a lot of troubleshooting guides — including an earlier version of this one — a hostname change does not, by itself, break a cPanel license. Three things actually do: the server’s public IP changed, the server can’t reach cPanel’s licensing infrastructure outbound, or the license expired, was released, or was transferred inside manage2. Telling them apart takes about five minutes and three commands.

What you’ll accomplish

  • Understand what manage2 actually is, separately from what the server’s license check does.
  • Know precisely what a cPanel license is bound to — and rule out what it is not bound to.
  • Run a short diagnostic that distinguishes an IP mismatch, a blocked outbound connection, and an expired or released license.
  • Reset the license from the server with cpkeyclt, and recognize the point where the fix has to happen in manage2 instead.
  • Confirm the outbound destination and port the check needs before you touch a firewall rule.

Prerequisites

  • Root SSH access to the server. Everything here runs from the shell; nothing requires the WHM UI to be working.
  • curl, dig (or getent hosts), and bash — all present by default on a cPanel & WHM install.
  • Know who actually controls the license in manage2. On a server you own outright that’s you; on a reseller or VPS-partner account, the IP and status fields belong to whoever holds the manage2 login, and you’ll need them for two of the three fixes below.
  • No specific cPanel & WHM version is assumed — cpkeyclt and the license file it maintains have been part of every supported release for years.

How it works

manage2 is the umbrella name for cPanel’s account system: license purchase and transfer, billing, and the record that ties a license to a server. Log into manage2, open Licenses » List Active Licenses, and the columns on each row are the license ID, its IP, its package, its status, and its validity — no hostname column, because a license record has nothing else to key on but the IP, confirmed directly in cPanel’s own license listing reference. It’s an easy assumption to make anyway: a migration that changes a server’s IP often changes its hostname in the same maintenance window, so the two get blamed together after the fact. But renaming a server while keeping the same public IP has never been documented anywhere as something that breaks a cPanel license.

Validation itself is a separate, automated process from the portal. cpkeyclt, a utility cPanel installs at /usr/local/cpanel/cpkeyclt, runs on a schedule and on demand, presents the server’s current public IP to cPanel’s licensing infrastructure, and gets back either a current entitlement or a failure. It writes what it last confirmed to a local file, /usr/local/cpanel/cpanel.lisc. Nobody logs into anything for this exchange to happen — it’s the same kind of unattended check a TLS certificate renewal makes, and it fails for the same two reasons: the thing being checked changed, or the two ends couldn’t talk to each other.

Data flow diagram showing a cPanel licence check leaving the WHM server through the egress firewall, having its IP substituted by NAT, and reaching cPanel's licensing infrastructure at manage2, with three numbered break points annotated: outbound blocked at the firewall, an outdated IP at the NAT hop, and an expired or released licence at the manage2 end

Three points on that path can break, and all three produce the same generic WHM banner, which is exactly why they’re worth separating carefully:

The IP itself is stale. A cloud rebuild, a floating or elastic IP failover, or a new NAT front end means the address manage2 has on file no longer matches what the server presents to the outside world. This is a manage2-side fix: whoever has access to the license record updates the IP field, then the server re-pulls the license.

The server can’t reach the licensing endpoint at all. An egress firewall rule, a cloud security group, or an upstream network change blocks the outbound connection before it reaches cPanel’s side — the license record was never asked. This one is server-side (or upstream-network-side) to fix; manage2 doesn’t need to change.

The license itself is in a non-active state in manage2 — expired, suspended for non-payment, or explicitly released or transferred to a different account or server. cpkeyclt reports the failure honestly, but there’s nothing to reset on the box, because the record no longer says what the server needs it to say.

A related wrinkle looks like the first case but isn’t quite it: a server behind NAT, a load balancer, or a cloud provider’s floating-IP layer can have a configured primary IP that differs from the egress IP it presents to the internet. The address on file in manage2 might match one and not the other. The fix is still manage2-side, but the first diagnostic step below tells you which IP is the one that actually matters.

Step-by-step

1. Confirm the server’s public egress IP. This is the number that has to match manage2, not necessarily the address configured as primary in WHM.

curl -s http://myip.cpanel.net/v1.0/

Expected output is a bare IP address, for example 203.0.113.45. Compare it against the interface configuration:

ip addr show | grep "inet "

If the two don’t agree, egress NAT or a load balancer is presenting a different address — it’s the myip.cpanel.net figure that has to match the license, since that’s what cPanel’s infrastructure actually sees.

2. Confirm outbound reachability to the licensing host. A connection failure here means the check never got a chance to fail on its own terms — it never left.

curl -v https://verify.cpanel.net/ 2>&1 | tail -15

Expected output ends with an HTTP/2 302 redirecting to cPanel’s own public license checker — TLS negotiated and the connection completed. A timeout, Connection refused, or a TLS handshake failure means something between the server and cPanel is blocking the path, which is cause two, and the fix is local: a firewall rule or a security group, not a manage2 change.

A firewall can pass 443 and still block the dedicated port the license daemon uses. cPanel’s own support documentation lists TCP 2089 outbound to its licensing hosts, including auth.cpanel.net, as the connection cpkeyclt needs. Test it with a plain bash TCP probe, which needs nothing installed beyond bash:

timeout 5 bash -c 'cat < /dev/null > /dev/tcp/auth.cpanel.net/2089' && echo "2089 reachable" || echo "2089 blocked"

Expected output is 2089 reachable. If 443 passed but this prints 2089 blocked, you’ve found a rule specific enough to miss a casual “can this server reach the internet” test.

3. Read the license status locally. This re-triggers the check and reports whether it succeeded.

/usr/local/cpanel/cpkeyclt

A clean run prints Updating cPanel license...Done. followed by confirmation; some builds print nothing further once the update completes, which is also success — nothing new to pull. A failure prints the reason instead of finishing quietly, pointing you toward step 1, step 2, or the manage2-side cause under The reset, below.

4. Check the local license file’s state. cpanel.lisc is the artifact cpkeyclt writes after every check; its timestamp shows whether the daemon actually reached the endpoint, independent of what it reported.

ls -l /usr/local/cpanel/cpanel.lisc

If that timestamp just moved to now after step 3, the server completed a round trip to cPanel’s licensing infrastructure — whatever the outcome. If it’s stuck at an old date even after re-running cpkeyclt, the daemon isn’t completing the round trip at all, which points back to step 2’s network check rather than the license record itself.

Decision tree routing three observed symptoms — an IP mismatch from myip.cpanel.net, a blocked connection to the licensing host, and cpkeyclt still reporting invalid after IP and network both check out — to the command that confirms each one and then to either a manage2-side fix or a server-side fix

The reset. Once the diagnostic above points at a cause, the server-side action is always the same command:

/usr/local/cpanel/cpkeyclt
  • If step 1 showed an IP mismatch, cpkeyclt alone will not fix it — the record still names the old address. Someone with manage2 access opens the license (Licenses » List Active Licenses, by ID or old IP), updates the IP field, and only then does re-running cpkeyclt pick up the change.
  • If step 2 showed a blocked connection, fix the firewall rule or security group, confirm curl now succeeds, then run cpkeyclt — no manage2 change needed.
  • If cpkeyclt reports the license invalid for this IP even though steps 1 and 2 both check out clean, that’s not a server problem to keep chasing. The record in manage2 has expired, or was explicitly released or transferred and no longer names this server. Check Licenses » List Active Licenses or List Expired and Suspended Licenses, renew it if lapsed, or correct the IP if it’s still valid but pointed wrong — then run cpkeyclt again.

Validate it works

Re-run the check and confirm both the daemon’s own report and the file it updates:

/usr/local/cpanel/cpkeyclt
ls -l /usr/local/cpanel/cpanel.lisc

A clean Updating cPanel license...Done. with no failure line, alongside a cpanel.lisc timestamp reading “just now,” is the signal the license is current. Then confirm the WHM UI agrees — reload the dashboard and check the banner is gone. If it lingers after a clean cpkeyclt run, cpsrvd may be holding a cached copy of the old state; the license check and fix runbook covers restarting the daemon and a deeper checklist (clock skew, license logs) for cases that don’t resolve with cpkeyclt alone — worth running end to end if this keeps recurring.

Troubleshooting

cpkeyclt succeeds but the WHM banner never clears. cpsrvd, the daemon serving the WHM UI, can hold the old license state in memory until it restarts. Confirm cpkeyclt actually reported success first, then follow the daemon-restart step in the license runbook rather than repeating cpkeyclt in a loop.

myip.cpanel.net and the configured primary IP never match, even right after fixing NAT. A load balancer or reverse proxy likely sits permanently in front of the box, and its real internet-facing address is simply not what the OS reports as primary. The address that belongs in manage2 is the myip.cpanel.net figure — update the record to that value rather than chasing a “mismatch” that’s actually the server’s normal topology.

Port 2089 is blocked, but the box’s own firewall (CSF, firewalld, iptables) shows no rule for it. The block is likely upstream, in a cloud provider’s security group or network ACL, not the host’s local rules. Confirm with the bash TCP probe from the server itself, then check the cloud console’s egress rules.

WHM itself won’t load at all, rather than showing a licensing banner. A blank page or a 500 on login is a different failure surface — cpsrvd, disk space, or a corrupt session, not manage2 or the license. See WHM shows a blank page or 500 error; nothing here helps if WHM can’t render at all.

DNS can’t resolve the licensing hostnames. A resolver that can’t reach the public internet, or a split-horizon setup, produces the same symptom as a firewall block, but the fix differs. dig +short auth.cpanel.net should return several IP addresses; nothing back means DNS, not the outbound connection, is where this actually breaks.

When this is the wrong approach

If you don’t hold the manage2 login yourself — a common situation on reseller and managed-VPS accounts — you can still complete every server-side step here, but the fix for an IP mismatch or an expired license has to go through whoever does hold it. Running cpkeyclt against a record nobody has updated only confirms, again, that it’s still wrong.

If the server is failing to boot, or the network stack itself is down, a license error is the least of the immediate problems — get connectivity back first, since the banner is very likely a symptom of the outage rather than an independent fault.

And if this is a brand-new server that has never had a license issued at all — WHM reports “no license found” rather than “invalid” or “expired” — that’s an activation problem, not a validation failure, resolved by issuing the license through manage2’s normal purchase flow, not by anything in this diagnostic.

If this is the kind of work you’d rather never own again, it’s the daily job of Managed Cloud Ops — book an infrastructure review.