Jump to content

Error: (Curl Error) couldn't connect to host


darkkean

Recommended Posts

Hello,

 

I would like to ask some help regarding my problem when creating accounts using WHMCS to my server's WHM via remote setup key.

 

Everytime I click a button to activate a package, WHMCS loads as if it never stops.. and when it stopped, it returns the error: "(Curl Error) couldn't connect to host - code: 7".

 

I checked the documentation and found out

 

Server Command Error - Curl Error - Couldn't connect to host (7)

 

This response means you have a firewall blocking the connection. The port being used depends on what module you are using but for cPanel it would be 2086/2087, Plesk 8443, DirectAdmin 2222, etc...

 

Though, I am not sure if I am blocking the 2086/2087 ports, I don't have idea where to unblock it. I checked my WHM (with root user), I have no firewall options there, I even un-installed my CSF weeks ago already.

 

By the way, my WHMCS is installed on my Server 1, and I am trying to create a cPanel account on Server 2 via remote access key. When I try to create an account on Server 1, it is successful, while in Server 2, it returns the code 7 error.

 

I am using ClienExec too. and when I try to do this via CE, there's no problem occur, and accounts are set-upped as it is.

 

I am very new with WHMCS, so please help me and point me my errors. Thank you very much!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated