How can I fix the error: The licensing server was invalid or could not be reached ?

Many times this error can be fixed by restarting the Plesk panel:

/etc/init.d/psa restart

Make sure your openssl and curl packages are up to date:

// Centos / RHEL
yum update openssl curl

// Debian / Ubuntu
apt-get update  openssl curl


You can run the following command to see if your server can connect to the licensing server. You should get a response of Verify return code: 0 (ok) if the connection was successful.

openssl s_client -connect www.danami.com:443

If you get the error:

openssl s_client -connect www.danami.com:443 - returns:
socket: Bad file descriptor
connect:errno=9

Make sure that you aren't blocking the licensing server IP addresses: IPv4 198.27.80.6 and IPv6 2607:5300:60:2106:: Imunify360 is known to block our server IPs for some reason.

  • license
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can I use Juggernaut Firewall to block Wordpress bruteforce attacks?

Yes we support blocking attacks like these very easily. See the howto for how to enable a custom...

How can I fix the error: The domain limit of this license key has been reached?

The admin and pro versions of our products are limited to the number of domains you can have in...

How can I disable the logging of iptables to the console?

To permanently disable all low level kernel messages (iptables etc) from flooding the console do...

Why isn't autolearning working for me (autolearn=no) ?

Lots of people seem to be confused by the "autolearn=no" statement in the default X-Spam-Status...

How can I disable the firewall from the command line?

You can disable and enable the firewall from the command line using the following commands:To...