What ports should be open to run cPanel / WHM behind a firewall ?

We recommend the following ports are opened in your firewall to correctly use CPanel and WHM

Port List

port / service / protocol / direction of traffic
  • 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
  • 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

These settings apply to a base installation of CPanel/WHM version 10 onwards.
Any add-ons or advanced configurations such as DNS clustering may require additional ports.

  • 14 Users Found This Useful
這篇文章有幫助嗎?

相關文章

Do your CPanel hosting accounts come with BoxTrapper ?

At present we do not offer a BoxTrapper based spam prevention solution. BoxTrapper is based...

How do I access the CPanel control panel ?

Your CPanel control panel is accessed by a web browser at http://{domain}/cpanel i.e. if your...

Setting up easy webmail (Horde) access on CPanel

Alternative ways of accessing webmail ... Our standard CPanel method of accessing the webmail...

Cannot publish site with Frontpage Extensions, front page reporting incorrect password

Problem: I can no longer publish a site with Frontpage Extensions it says I have the wrong...

What is the server path to my files ?

The path to your files will vary depending on the control panel you use... Plesk (linux)...

Powered by WHMCompleteSolution