WHMCS Shows Connection Refused when attempting to access via WHMCS Connect
When you add WHMCS Connect, you attempt to access the cPanel area, which returns a Connection Refused error. We can verify the error via the browser's webmaster tools, such as Google Chrome's Developer Tools.
Refused to display 'https://hostname:2087/cpsesssess/?login=1&post_login=##########' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
You will want to ensure that the following steps have been taken in your WHM >> Server Configuration >> Tweak Settings.
- Login to WHM
- Navigate to Server Configuration »Tweak Settings
- Set the Use X-Frame-Options and X-Content-Type-Options headers with cpsrvd value to Off
- Click Save