cPanel in combination with WHM is a Unix-based (usually integrated with CentOS Linux) web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting websites.

In combination with WebHost Manager (WHM), the software offers GUI, command line, and API-based access that allows third-party software vendors, web hosting organizations, and developers to automate standard system administration processes to manage hosting accounts on a web server.

If you have a WHM-based server running behind a firewall, you’ll need to open certain ports on your firewall to enable all services. The following are lists of Inbound and Outbound Ports used by the cPanel and WHM software:

Inbound Port URL Application
TCP 20 - FTP
TCP 21 - FTP
TCP 22 - SSH
TCP 25 - SMTP
TCP 26 - SMTP
TCP 53 - DNS
TCP 80 - HTTP
TCP 110 - POP3
TCP 143 - IMAP4
TCP 443 - HTTPS
TCP 465 - SMTP (TLS / SSL)
TCP 993 - IMAP4 (SSL)
TCP 995 - POP3 (SSL)
TCP 2082 http://yourdomain.com/cpanel cPanel
TCP 2083 https://yourdomain.com/cpanel cPanel (SSL)
TCP 2086 http://yourdomain.com/whm WHM
TCP 2087 https://yourdomain.com/whm WHM (SSL)
TCP 2095 http://yourdomain.com/webmail Webmail
TCP 2096 https://yourdomain.com/webmail Webmail (SSL)
TCP 3306 - MySQL (external connections)
TCP 6666 - Chat
UDP 21 - FTP
UDP 53 - DNS
UDP 465 - SMTP (TLS / SSL)

Please note that you should only open port 3306 if you wish to allow external connections to the MySQL service.

Outbound Port Application
TCP 20 FTP
TCP 21 FTP
TCP 25 SMTP
TCP 26 SMTP
TCP 37 RDATE
TCP 43 WHOIS
TCP 53 DNS
TCP 80 HTTP
TCP 113 IDNET
TCP 465 SMTP (TLS / SSL)
TCP 873 RSYNC
TCP 2089 cPanel License
TCP 3306 MySQL (external connections)
UDP 21 FTP
UDP 53 DNS
UDP 465 SMTP (TLS / SSL)
UDP 873 RSYNC

Please note that you should only open port 3306 if you wish to allow external connections to the MySQL service.

More information on configuring cPanel and WHM can be found in the WHM User Guide.

Share this article: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Twitter
  • GatorPeeps
  • Digg
  • Reddit
  • muti.co.za
  • DZone
  • del.icio.us
  • StumbleUpon
  • Technorati
  • Ma.gnolia
  • Slashdot

Related posts:

  1. Enabling remote access to a MySQL Database Server
  2. Displaying MySQL CLI query output vertically
  3. South African cellphone network data access details
  4. Changing the default MySQL root (or other user) password
  5. Checking your internal and external IP Addresses on a Unix machine