Here is a table of all of the ports used by cPanel. Optional services are noted. If you know you are not using that service, then that port does not need to be open.
Port | Service | Protcol | Direction | Optional Service |
---|---|---|---|---|
20 | FTP | TCP | Both | |
21 | FTP | TCP, UDP | Both | |
22 | SSH | TCP | Inbound | |
25 | SMTP | TCP | Both | |
26 | SMTP | TCP | Both | Yes |
37 | Rdate | TCP | Outbound | |
43 | Whois | TCP | Outbound | |
53 | DNS | TCP, UDP | Both | Yes, Inbound |
80 | HTTP | TCP | Both | |
110 | POP3 | TCP | Inbound | |
113 | Ident | TCP | Outbound | |
143 | IMAP4 | TCP | Inbound | |
443 | HTTPS | TCP | Inbound | |
465 | SMTP (TLS/SSL) | TCP, UDP | Both | |
873 | Rsync | TCP, UDP | Outbound | |
993 | IMAP4 (SSL) | TCP | Inbound | |
995 | POP3 (SSL) | TCP | Inbound | |
2077 | WebDAV | TCP, UDP | Both | Yes |
2078 | WebDAV (SSL) | TCP, UDP | Both | Yes |
2082 | cPanel | TCP | Inbound | |
2083 | cPanel (SSL) | TCP | Inbound | |
2086 | WHM | TCP | Inbound | |
2087 | WHM (SSL) | TCP | Inbound | |
2095 | Webmail | TCP | Inbound | |
2096 | Webmail (SSL) | TCP | Inbound | |
3906 | MySQL | TCP | Inbound | Yes |
6666 | Melange Chat | TCP | Inbound | Yes |