Ports that must be open to run cPanel behind a firewall / IPTables

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
(inbound is only needed if you run your own public DNS server you)

80 http tcp inbound/outbound

110 pop3 tcp inbound

113 ident tcp outbound

143 imap4 tcp inbound

443 https tcp inbound

465 smtp tls/ssl tcp/udp inbound/outbound

873 rsync tcp/udp outbound

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 cp licence tcp outbound

2095 Webmail tcp inbound

2096 Webmail SSL tcp inbound

3306 mysql tcp (only if you need to connect remotely)

6666 chat tcp inbound
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

I am receiving a 500 internal server error. What do I do?

The 500 Internal Server error can be caused by many different things. If you receive this error...

Assigning Name server IPs manually via SSH

Currently cPanel will start with eth0 and work through eth1 when you assign nameservers to your...

How do I backup my entire site in cPanel?

Entire accounts can be backed up by doing the following: 1. Log into your cPanel and click the...

How do I upload and edit my files?

You can upload your files using FTP. You will need an FTP client (search on Google, there are...

How can I notify users when they are approaching bandwidth limitations?

Click on the "Tweak Settings" link under "Server Setup". Within the...