Ports that must be open to run cPanel behind a firewall are listed below:
Port |
Service |
Protocol |
Direction |
---|---|---|---|
20 |
FTP |
TCP |
Inbound / Outbound |
21 |
FTP |
TCP/UDP |
Inbound / Outbound |
22 |
SSH |
TCP |
Inbound |
25 |
SMTP |
TCP |
Inbound / Outbound |
26 |
SMTP |
TCP |
Inbound / Outbound |
37 |
rdate |
TCP |
Outbound |
43 |
whois |
TCP |
Outbound |
53 |
DNS |
TCP/UDP |
Inbound / Outbound |
80 |
HTTP |
TCP |
Inbound / Outbound |
110 |
POP3 |
TCP |
Inbound |
113 |
ident |
TCP |
Outbound |
143 |
IMAP4 |
TCP |
Inbound |
443 |
HTTPS |
TCP |
Inbound / Outbound |
465 |
SMTP (TLS/SSL) |
TCP/UDP |
Inbound / Outbound |
783 |
SpamAssassin |
TCP/UDP |
Inbound |
873 |
rsync |
TCP/UDP |
Outbound |
953 |
DNS/RNDC |
TCP |
Inbound |
993 |
IMAP4 (SSL) |
TCP |
Inbound |
995 |
POP3 (SSL) |
TCP |
Inbound |
2082 |
cPanel |
TCP |
Inbound |
2083 |
cPanel (SSL) |
TCP |
Inbound |
2086 |
WHM |
TCP |
Inbound |
2087 |
WHM (SSL) |
TCP |
Inbound |
2089 |
cPanel license |
TCP |
Outbound |
2095 |
Webmail |
TCP |
Inbound |
2096 |
Webmail (SSL) |
TCP |
Inbound |
3306 |
MySQL |
TCP |
Inbound |