How To Open Ports via WHM

August 10, 2023 / cPanel & WHM

In this article, we will explain how to open ports with the help of WHM.

Please keep in mind that allowing port access on your server could pose security vulnerabilities. Prioritise understanding potential risks associated with opening specific ports.

Follow these steps to open ports via WHM:

  1. Log into your WHM as a root account.
    WHM Login Account
  2. Navigate to the “Plugins” section and click on the “ConfigServer Security & Firewall”.
    ConfigServer Security & Firewall
  3. Search for the “Firewall Configuration” option.
    Firewall Configuration
  4.  Find “TCP_IN=”
    TCP_IN
  5. Input the port number within the provided list. Ensure separation of ports using a single comma and avoid including any spaces.
  6. Select the “Change” option located on the page’s bottom.
    change
  7. This action will reset the firewall, ensuring that the changes made to the opened ports become effective.

In this way, you can open ports with the help of WHM. Hope you liked our article. For more such informative articles, do visit our KB section regularly.

After opening ports, find out How to Modify the Apache port in WHM

Spread the love