Product:
Search Type:

[FIX] Problems logging into Plesk because of IP restrictions

Article ID: 1024 
Last Review: Aug,21 2007
APPLIES TO:
  • Plesk 7.5.x for Windows

SYMPTOMS

There’s a problem loging into  Plesk with the following error:
 
"Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied."

RESOLUTION

It means that Plesk IP access policy was configured in such a way that  Plesk cannot be accessed from the current IP. 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:

Plesk,Server, Personal information section, Access, Remove necessary IP address/subnet/network

If localhost is also blocked and it is impossible to login to Plesk even locally, the Plesk database records regarding access policy need to be corrected. To retrieve the current policy and restricted/allowed IPs the following commands can be used:

"%plesk_dir%\mysql\bin\mysql" -uadmin -p"admin_psswd" -P8306 psa

mysql> select * from cp_access;
mysql> select * from misc where param='access_policy';

To clear the access policy settings remove all the records from the "cp_access" table and set policy to "allow":

mysql> delete * from cp_access;
mysql> update misc set val="allow" where param='access_policy';
After that, access to Plesk should be available.

Keywords: access restricted policy denied panel

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields