cPanel default open ports

You must open the following ports to run cPanel behind a firewall. Mostly these ports will automatically open when you install the cpanel. CSF firewall also fetch default ports automatically.

cPanel default open ports in your server.



Port Service Details
20 FTP TCP inbound/outbound
21 FTP TCP/UDP inbound/outbound


Server administration and maintenance


Port Service Details
22 SSH TCP inbound
37 rdate TCP outbound




Port Service Details
25 SMTP TCP inbound/outbound
26 SMTP TCP inbound/outbound
110 POP3 TCP inbound
143 IMAP4 TCP inbound
465 SMTP TLS/SSL TCP/UDP inbound/outbound
783 SpamAssassin TCP/UDP inbound
993 IMAP4 SSL TCP inbound
995 POP3 SSL TCP inbound
2095 Webmail TCP inbound
2096 Webmail SSL TCP inbound


Essential services


Port Service Details
53 DNS TCP/UDP inbound/outbound (inbound is needed only if you run your own public DNS server)
80 HTTP TCP inbound/outbound
443 HTTPS TCP inbound
3306 MySQL TCP (only if you need to connect remotely)




Port Service Details
2077 WebDAV TCP/UDP inbound/outbound
2078 WebDAV SSL TCP/UDP inbound/outbound




Port Service Details
2082 cPanel TCP inbound
2083 cPanel SSL TCP inbound
2086 WHM TCP inbound
2087 WHM SSL TCP inbound
2089 cPanel license TCP outbound


Optional services


Port Service Details
43 whois TCP outbound
113 ident TCP outbound
873 rsync TCP/UDP outbound
6666 IRC TCP inbound

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPanel & WHM Version 74 Now in STABLE

cPanel has released cPanel & WHM Version 74 to the STABLE tier. It includes updates for some...

Installing cpanel on google cloud

Create a new CentOS 7 instance on your google cloud engine. From the cPanel & WHM System...

Install Free SSL Let’s Encrypt plugin in cPanel

Let’s Encrypt is a trusted, open source certificate authority that offers free SSL certificates...

Replace MySQL with Percona in cPanel Server

Percona Server is an enhanced drop-in replacement for MySQL. If you are a web hosting service...

Install nginx as a reverse proxy cPanel plugin

Install Nginx on your cPanel/WHM server using the Engintron cPanel Plugin as a reverse proxy. It...

Powered by WHMCompleteSolution