List of cPanel / WHM Inbound and Outbound Ports

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.

 

Related posts:

  1. Checking which processes are accessing the Internet on a Unix machine
  2. South African cellphone network data access details
  3. List comments and files changed for a specific Subversion Revision
  4. Sending Tweets from the command line using a Bash script
  5. Testing SMTP servers from a UNIX command line
Twitter Digg Delicious Stumbleupon Technorati Facebook Email

One Response to “List of cPanel / WHM Inbound and Outbound Ports”

  1. Often, when users compare bandwidth usage statistics provided by log analysis programs such as AWStats, Analog, and Webalizer to bandwidth statistics provided by cPanel and WHM, they are surprised to find apparent discrepancies.
    These apparent discrepancies arise as a result of the way different programs measure bandwidth.
    thanks

Afrigator