Talk to a real engineer, 24×7 — +91 75994 50220 support@bigdomainhost.com
Guide

cPanel port numbers: the full list, and which ones you need

cPanel runs its interfaces on its own ports in the 2000s, separate from your website on 80 and 443. Here is what each port does, which ones to open in a firewall, and what to do when an office network blocks them.

Short answer: cPanel uses port 2083 over SSL (2082 without), WHM uses 2087 (2086 without) and Webmail uses 2096 (2095 without). Use the SSL ports; if a network blocks them, the service subdomains cpanel., whm. and webmail. reach the same interfaces over the standard port 443.

cPanel, WHM and Webmail ports at a glance

Every cPanel & WHM server answers on the same set of ports. Each interface has an SSL port and an older non-SSL one, and all of them take inbound TCP connections. These are the numbers in cPanel's own firewall documentation:

ServiceSSL portNon-SSL portService subdomain
cPanel (account owner)20832082cpanel.example.com
WHM (server or reseller admin)20872086whm.example.com
Webmail20962095webmail.example.com
Web Disk (WebDAV)20782077webdisk.example.com
Calendars and contacts (CalDAV/CardDAV)20802079cpcalendars.example.com, cpcontacts.example.com

An easy way to remember them: each SSL port is the non-SSL port plus one, cPanel sits at 2082–2083, WHM at 2086–2087 and Webmail at 2095–2096. If you only remember one number, make it 2083.

What is port 2083?

Port 2083 is the secure login port for cPanel, the control panel an account owner uses to manage files, databases, email accounts and SSL certificates for a website. When you visit https://example.com:2083, you reach cPanel's login page over an encrypted connection. Port 2082 is the same interface without encryption.

cPanel's documentation lists one more job for both ports: they are also used for cPanel licensing, and appear on the docs' list of licence callback ports.

You often do not need to type the number at all. A setting that cPanel used to call Always redirect to SSL/TLS is on by default, and it sends anyone who visits example.com/cpanel to example.com:2083. The same redirect sends /whm to the WHM port and /webmail to the Webmail port. It does not apply to subdomains such as cpanel.example.com, which work differently (more on those below).

If you are new to the panel itself, our guide to what cPanel is and what it does covers the basics.

Port 2087 and 2086: the WHM ports

WHM, short for WebHost Manager, is the administration layer above cPanel. Server owners use it to configure the whole machine, and resellers use it to create and manage cPanel accounts for their own customers. It listens on port 2087 over SSL and 2086 without. Like 2083, port 2087 is also used by cPanel licensing.

Not every hosting account has WHM. On a shared plan you get cPanel only, so https://example.com:2087 will not let you in. WHM comes with reseller hosting, or with a VPS or dedicated server that has its own cPanel & WHM licence. Our guide to what WHM is and how it differs from cPanel explains the split.

Port 2096 and 2095: the Webmail ports

Webmail on a cPanel server answers on port 2096 over SSL and 2095 without. This is the browser login for reading mail on a cPanel email account. You can also reach it at webmail.example.com or example.com/webmail.

Webmail ports are not the same as mail ports. If you are setting up a phone or desktop mail app, you need the SMTP, IMAP and POP3 ports (such as 465, 587, 993 and 995) instead. Those are covered in our email port numbers guide.

Why use the SSL ports, not 2082, 2086 and 2095

cPanel strongly recommends the SSL versions of every service, because the non-SSL ones can expose your login details. On a café, hotel or shared office connection, a password sent to port 2082 crosses the network unencrypted.

There is little reason to use the non-SSL ports at all. On a server you control, an administrator can limit 2082, 2086 and 2095 to SSL-only logins in WHM under Server Configuration » Tweak Settings. On someone else's server, make a habit of typing the SSL port, or use the /cpanel shortcut and let the redirect choose it for you.

Can't reach port 2083? Use cpanel.yourdomain.com

A common cPanel login problem is not a wrong password but a blocked port. Many office, college and public networks only let traffic out on standard web ports such as 80 and 443, so a request to :2083 simply times out. cPanel's documentation does not single out any type of network, but this is the usual reason cPanel opens at home and not at work.

The fix is a service subdomain. cPanel creates these automatically (they used to be called proxy subdomains), and they serve the same interfaces over the standard HTTP and HTTPS ports, so they work behind a firewall that only allows 80 and 443:

SubdomainReachesPort behind it
cpanel.example.comcPanel2083 / 2082
whm.example.comWHM2087 / 2086
webmail.example.comWebmail2096 / 2095
webdisk.example.comWeb Disk2078 / 2077
cpcalendars.example.com, cpcontacts.example.comCalendars and contacts2080 / 2079
autodiscover.example.com, autoconfig.example.comMail client auto-configuration443

Which should you use? cPanel's documentation says the port responds faster, while the subdomain is the one that works from behind a restrictive firewall. The Service subdomains setting in Tweak Settings is on by default, and the docs strongly recommend leaving it on. Server owners who want different names can create custom cPanel, Webmail, Web Disk and WHM subdomains with a separate Service subdomain override setting.

If cpanel.example.com does not load either, check that the domain's DNS points at the hosting server; the subdomain can only work once the domain resolves there.

Other ports a cPanel server uses

The panel ports are only part of the picture. cPanel's firewall documentation also lists the ports a cPanel & WHM server needs for everything else it does:

PortServiceDirection
20, 21FTP (cPanel recommends SFTP over SSH instead)Inbound and outbound
22SSH and SFTPInbound
53DNS, over TCP and UDPInbound and outbound
80, 443HTTP and HTTPS for websitesInbound and outbound
3306MySQL, for remote database connectionsInbound
25, 26, 465, 587, 110, 995, 143, 993Mail (see the email ports guide)Varies by service
2089cPanel licensing, to the WebPros licence serversOutbound
579, 783, 953cPHulk, SpamAssassin, PowerDNSLocalhost only
1, 7, 37, 43, 113, 873, 2703, 6277, 11371, 24441CPAN, Razor (7 and 2703), rdate, whois, ident, rsync, DCC, apt, PyzorOutbound only

Two of these catch people out. Port 3306 only needs to be open if something outside the server connects to MySQL directly; a website on the same server talks to its database locally. And port 2089 must be allowed outbound, or the server cannot reach the licence servers.

Which cPanel ports to open in a firewall

On shared or reseller hosting, the provider runs the server firewall and you do not need to open anything. This list matters when you run your own cPanel & WHM server on a VPS or dedicated machine. A sensible starting point, based on cPanel's documentation:

  • Inbound: 22, 53, 80, 443, 2083, 2087 and 2096, plus 2078 and 2080 if your users need Web Disk or calendars, and the mail ports for the services you offer.
  • Non-SSL panel ports: the docs list 2082, 2086 and 2095 too, and 2082 and 2086 are also used for licensing. If you keep them open, use Tweak Settings to restrict them to SSL-only logins.
  • Outbound: 2089 for licensing, plus the outbound-only ports in the table above for the spam-filtering and system tools you use.
  • Usually closed: 3306, unless you have a specific reason to accept remote database connections, and 20/21 if everyone can use SFTP instead.

Check your provider's network firewall as well as the one on the server itself. A port can be open in the server's own rules and still be blocked further upstream.

cPanel ports on Bigdomainhost

On our Web & cPanel hosting and WordPress plans, cPanel is included, so you log in to cPanel and Webmail as described above. These plans include cPanel only, not WHM, and on Web & cPanel hosting SSH access is available on request. WHM comes with reseller hosting, which gives you white-label WHM to create cPanel accounts for your own customers.

On a KVM VPS, cPanel & WHM can be pre-installed when you order or added later, with the licence billed at vendor price. Our server firewall denies all inbound traffic by default except SSH on port 22, and you set inbound rules per instance in the panel. So if you run cPanel on a VPS, expect to add rules for the ports you use, such as 80, 443, 2083, 2087 and 2096. Outbound traffic is not restricted apart from port 25, which is blocked by default and opened on request once the account has a payment history; our post on why port 25 is closed explains the reasons.

Sources (checked )

Answers

Frequently asked questions

Still unsure? Call +91 75994 50220 or write to support@bigdomainhost.com — a human replies, 24×7.

What is the cPanel port number?

cPanel uses port 2083 for secure (SSL) logins and port 2082 for non-SSL logins. Use 2083, for example https://example.com:2083, or go to example.com/cpanel, which redirects to port 2083 by default.

What port does WHM use?

WHM uses port 2087 over SSL and port 2086 without SSL. You only have WHM access with reseller hosting, or on a VPS or dedicated server with a cPanel & WHM licence; shared hosting includes cPanel only.

What is port 2096 used for?

Port 2096 is the secure Webmail port on a cPanel server, and 2095 is its non-SSL version. It is for reading mail in a browser. Mail apps on a phone or computer use the SMTP, IMAP and POP3 ports instead.

Why can't I open cPanel on port 2083 from my office network?

Many office and public networks only allow standard web ports such as 80 and 443, so a connection to 2083 times out. Use the service subdomain instead, such as cpanel.example.com, which serves cPanel over the standard ports.

Should I use port 2082 or 2083?

Use 2083. cPanel strongly recommends the SSL ports because the non-SSL ports can expose login details, and server administrators can limit 2082, 2086 and 2095 to SSL-only logins in WHM's Tweak Settings.

Support that picks up the phone.

24×7, from our office in Agra, in IST — Hindi or English. Sales, migration and emergencies all reach the same engineers. No offshore queue, no 48-hour first reply.

Need cPanel or WHM with the ports already sorted?

Web & cPanel hosting comes with cPanel ready to log in to, reseller hosting adds white-label WHM, and a KVM VPS can have cPanel & WHM pre-installed. Call +91 75994 50220 or email support@bigdomainhost.com.