While logging into plesk panel, you may have encountered the following error.
“Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied.”
It means that Plesk IP access policy was configured in such a way that Plesk panel cannot be accessed from the current IP address. To enable Plesk CP access one needs to login to Plesk Control Panel locally and change IP access policy. It can be done the following way.
Retrieve the current policy and restricted/allowed IPs the following commands from shell.
$ mysql -u admin -p`cat /etc/psa/.psa.shadow`
mysql> use psa;
mysql> select * from cp_access;
mysql> select * from misc where param=’access_policy’;
Clear the access policy settings from the “cp_access” table and set policy to “allow” using commands,
mysql> delete * from cp_access;
mysql> update misc set val=”allow” where param=’access_policy’;
After exiting from mysql prompt you should be able to access the admin panel.