Jump to content

Justhost


palhadesigns

Recommended Posts

Hi i m using a reseller account on justhost. In WHMCS i cant configure servers to autosetup an hosting account on WHM cause i always get an curl error number 7. From what i read its about some firewall or something. I ve checked the dedicated IP that i get access in my admin cpanel but even so i cant configure a server to autosetup when i a client buys some host account. Can any one plz help me? =\

Link to comment
Share on other sites

A curl error number 7 is a could not connect error. It certainly sounds like a firewall issue, which would be the responsibility of your host.

 

What do you have set for the server hostname and IP? Some firewalls are setup to block "connect back" on scripts, meaning if you try to access the local external IP address from the same machine, it will get blocked. This sounds like the most probable explanation. Theres a number of tests you can perform to test this. Heres one example, just create a file called "test.php" in your WHMCS directory with the following code, and try to access it:

 

<?php

$host = "MY_SERVER_HOST"; // This is the host you have configured in the WHMCS servers config, you can also use the IP
$port = 2086;


$fp = fsockopen($host, $port, $errno, $errstr, 30);
if (!$fp) {
   echo "$errstr ($errno)<br />\n";
} else {
   $out = "GET / HTTP/1.1\r\n";
   $out .= "Host: $host\r\n";
   $out .= "Connection: Close\r\n\r\n";
   fwrite($fp, $out);
   while (!feof($fp)) {
       echo fgets($fp, 128);
   }
   fclose($fp);
}
?>

 

If you get some unstyled HTML output, then everything worked properly.. If you get an error, than the firewall is blocking access to port 2086 (WHM non-SSL). You can also try port 2087 for SSL access.

 

 

EDIT: You also realize the person who responded to you is not a member of the WHMCS staff right? The majority of the responses you'll receive here are from other users, who are offering their input free of charge. If you require support, you should try opening a ticket rather than crying about it and threatening to move to an inferior product.

Edited by laszlof
Link to comment
Share on other sites

great. you say to talk to them
Yes, the only people who are going to be able to help you with a setup/blocking issue with junkhosts hosting service are junkhosts themselves
and they say to talk to you

Should tell you everything you need to know about the service level you can expect from your hosting provider

great job. going for clientexec ;)

I'll look out for your post in their forum when the curl still doesnt work ...

Link to comment
Share on other sites

  • 6 months later...

I have run into the same problem, from what I can tell ( using just host ) there whm panel port is 2087 , not 2086 .. port 2086 is for cpanel.

 

When I set up my server in test it when the WHM button it trys to hit the following url ( https://whm.justhost.com:2086/login/ ) when the correct URL would be ( https://whm.justhost.com:2087 ) no /login/ is there a way to change this someplace in the code?

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