List of cPanel / WHM Inbound and Outbound Ports
Author: willem In: apache, cpanel, mysql, tips & tricks, tools, unix, whmcPanel 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:
Like this post? Subscribe to the Geekology RSS 2.0 feed!













Leave a reply