Jump to content

cPanel functions (create/suspend/etc) error on remote server


Recommended Posts



I have WHMCS installed on one server, and I am trying to control another server (create accounts etc). I have checked the firewall rules are in place on TCP 2087.


When I try to create a hosting account in WHMCS it times out and gives "Curl Error - couldn't connect to host (7)".


I wrote (well, borrowed and modified :P) this PHP script to see if the WHMCS box can connect to port 2087 of the remote server...



$fp = fsockopen("75.126.xx.xx", 2087, $errno, $errstr, 30);

if (!$fp) {

echo "$errstr ($errno)


} else {

echo "Port connected";





... and it can. So is 2087 the right SSL port for performing these functions?


edit: Hid my IP :P

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.

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