The following ports covering more than necessary connection software installed on your server.

Inbound  TCP Ports

20 - FTP
21 - FTP
22 - SSH
25 - SMTP
26 - SMTP
53 - DNS
80 - HTTP
110 - POP3
143 - IMAP4
443 - HTTPS
465 - SMTP (TLS/SSL)
993 - IMAP4 (SSL)
995 - POP3 (SSL)
2082 - cPanel
2083 - cPanel(SSL)
2086 - WHM (Web Host Manager)
2087 - WHM (SSL)
2095 - Webmail
2096 - Webmail (SSL)
3306 - MYSQL (if you want to allow remote access to databases)

Inbound  UDP Ports

21 - FTP
53 - DNS
465 - SMTP (TLS/SSL)

Outbound TCP Ports

20 - FTP
21 - FTP
25 - SMTP
26 - SMTP
37 - RDATE
43 - WHOIS
53 - DNS
80 - HTTP
113 - IDNET
465 - SMTP (TLS/SSL)
873 - rSync
2089 - cPanel Licensing
3306 - MySQL (if you want to allow remote access to databases)

Outbound UDP Ports

21 - FTP
53 - DNS
465 -SMTP (TLS/SSL)
873 – rSync

  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Cpanel I can not delete the mail accounts

If the cpanel can not delete specific mail account because there is no corresponding domain name...