palhadesigns Posted February 5, 2012 Share Posted February 5, 2012 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? =\ 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted February 6, 2012 Share Posted February 6, 2012 Can any one plz help me? =\ The host you're paying for the service perhaps 0 Quote Link to comment Share on other sites More sharing options...
palhadesigns Posted February 6, 2012 Author Share Posted February 6, 2012 great. you say to talk to them and they say to talk to you. great job. going for clientexec it was a pleasure doing bussiness with you.... 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted February 6, 2012 Share Posted February 6, 2012 (edited) 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 February 6, 2012 by laszlof 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted February 8, 2012 Share Posted February 8, 2012 great. you say to talk to themYes, 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 ... 0 Quote Link to comment Share on other sites More sharing options...
calbert Posted August 24, 2012 Share Posted August 24, 2012 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? 0 Quote Link to comment Share on other sites More sharing options...
calbert Posted August 24, 2012 Share Posted August 24, 2012 I am having the same problem, as far as I can tell when I pick Cpanel in the server details, it's connecting to http://whm.justhost.com:2086/login/ It should be connecting to https://whm.justhost.com:2087/login/ Is there a way to fix this? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.