cmshosting Posted March 22, 2020 Share Posted March 22, 2020 cPanel API Unreachable: Connection Error: Failed to connect to x.x.x.x: Permission denied(7) x-frame is off. I can ssh into the whmcs system and ssh from it to the cpanel server no problems at all using the same login and password only difference is the API token. 0 Quote Link to comment Share on other sites More sharing options...
Vox Posted March 24, 2020 Share Posted March 24, 2020 Hi @cmshosting, This may help: 0 Quote Link to comment Share on other sites More sharing options...
WHMCS William L Posted March 24, 2020 Share Posted March 24, 2020 The cPanel API is accessed via ports 2086/2087. The connection error you're experiencing suggests something is blocking the request. You may be able to connect to the cPanel server's shell from the WHMCS server, but do you get a response if you do this from the shell on the server hosting WHMCS?: curl -Ivvv https://<cpanel-server-hostname-or-ip>:2087 (Replace <cpanel-server-hostname-or-ip> with the real hostname or IP address) If not you'll need to find and remove whatever is blocking the connection. 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.