Royal Deer Design, Web Design New York City. We are a web design and internet marketing company located in New York City
Saturday January 14, 2012, 22:17We have recently faced an issue with setting up an additional server for WHMCS. We have servers from wiredtree (those buys are amazing, outstanding support!), but nobody could help us. Also, if you google this problem there are not really any good advice about this issue. After 12h of testing many options and searching for the solution - we found it, and now we share it.
Error:
Module Command Error
(Curl Error) couldn't connect to host - code: 7
On the official WHMCS site you can find:
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...
Indeed they are correct :).
So, we had 2 servers, one of them had installed WHMCS (let's call it Server A) and we wanted to attach another VPS server (let's call it Server B) to this WHMCS. Here are potential issues:
1. You must whilelist IP of server B in WHM of the server B. Simply go to WHM of the server B to a section Plugins > 'ConfigServer Security&Firewall', then whilelist there an IP of the server A. Here is one problem - you may not have 'ConfigServer Security&Firewall' plugin installed (we had that issue). So, just ask your hosting provider to install csf plugin for you, guys from wiredtree did it for us! :)
2. When adding a new server to WHMCS insert Access Hash, which you can generate in WHM of server B (Setup Remote Access Key).
3. As we found it online, it is good if server B has a root password without special characters - that may cause some issues.
Hopefully that save somebody few hours of problems :).
Tweet
WHMCS (Curl Error) couldn't connect to host - code: 7
Error:
Module Command Error
(Curl Error) couldn't connect to host - code: 7
On the official WHMCS site you can find:
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...
Indeed they are correct :).
So, we had 2 servers, one of them had installed WHMCS (let's call it Server A) and we wanted to attach another VPS server (let's call it Server B) to this WHMCS. Here are potential issues:
1. You must whilelist IP of server B in WHM of the server B. Simply go to WHM of the server B to a section Plugins > 'ConfigServer Security&Firewall', then whilelist there an IP of the server A. Here is one problem - you may not have 'ConfigServer Security&Firewall' plugin installed (we had that issue). So, just ask your hosting provider to install csf plugin for you, guys from wiredtree did it for us! :)
2. When adding a new server to WHMCS insert Access Hash, which you can generate in WHM of server B (Setup Remote Access Key).
3. As we found it online, it is good if server B has a root password without special characters - that may cause some issues.
Hopefully that save somebody few hours of problems :).
Tweet
- Valentine's Day and Web Design | Blog/News | Sunday February 14, 2010 9:16
Does Valentine's Day has something in common with ... - Hosting 26% OFF | Blog/News | Sunday February 14, 2010 11:13
Save on hosting with Royal Deer Design and Site5.c... - Website Developer's Diary: How to connect to FTP | Blog/News | Tuesday March 30, 2010 18:12
FileZilla over Total Commander. Why?... - Network Solutions Hacked, again | Blog/News | Tuesday April 20, 2010 7:00
Network Solutions, website domain registrar and ho... - Website hosting for small business | Blog/News | Monday August 08, 2011 6:26
When considering website hosting for your small bu...

When do-it-yourself is the bad choice: 5 items small #business owners should invest in http://t.co/w4lKVxue via @