Plesk offers an IP restriction policy which allows an administrator to restrict Plesk panel access to certain IPs. If your IP is not in the allowed list, you will receive the following error message while accessing the Plesk control panel:
Error: Access for administrator from address ‘xx.xx.xx.xx’ is restricted in accordance with IP Access restriction policy currently applied.
In order to enable Plesk panel access to everyone, you need to access the ‘psa’ database by logging to your server as root.
#First connect to your mysql server:
mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa
#List the IPs those are allowed to access the Plesk control panel.
mysql> select * from cp_access;
#Check the default access policy
mysql> select * from misc where param=’access_policy’;
#To remove all the IPs from ‘cp_access’ table:
mysql> delete * from cp_access;
#To change the default access policy to “allow” by default:
mysql> update misc set val=”allow” where param=’access_policy’;
You will now be able to access Plesk from any location without any problems.
Comments are closed.