Adding server in WHMCS

Avatar
  • Answered
I am adding the server to whmcs using the remote access key option. When I test the connection I am getting
Server Command Error - Curl Error - Couldn't connect to host (7)

According to the WHMCS help
Server Command Error - Curl Error - Couldn't connect to host (7)

Getting this error means that you have a firewall on your server blocking the connection. The port being used depends upon the module in use but for cPanel it would be 2086/2087, Plesk 8443, DirectAdmin 2222, etc... open for inbound and outbound connections on both the server WHMCS is installed on and the remote server being connected to. Please contact your server admin/hosting provider to open those ports.
Avatar
johnpaulb-imhs1
Hello,

Thank you for contacting us regarding WHMCS setup. By default, these ports are open on our servers. We are happy to help, but will need some additional information.

Are you adding our reseller server to another WHMCS, or are you trying to connect from an account with us, to WHMCS elsewhere?

If you have any further questions, feel free to post them below.

Best Regards,
John-Paul