If you are facing theproblem while logging to 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.
Please follow the steps to resolve the issue:
1. Login to the Windows server and go the path %plesk_bin% from the command prompt.
2. You can retrieve the current policy and restricted/allowed IPs from the following commands:
%plesk_bin%\dbclient.exe --direct-sql --sql="select * from cp_access"
OUTPUT
id type netaddr netmask
1 allow XX.X.XX.XX 255.255.255.255
2 deny XX.X.XX.XX 255.255.255.255
%plesk_bin%\dbclient.exe --direct-sql --sql="select * from misc where param='access_policy'";
OUTPUT
param val
access_policy deny
3. To clear the access policy settings remove all the records from the "cp_access" table and set policy to "allow"
%plesk_bin%\dbclient.exe --direct-sql --sql="update misc set val='allow' where param='access_policy'";
Error: Access for administrator from address 'XX.XX.XX.XX' is restricted in accordance with IP Access restriction policy currently applied.
Please follow the steps to resolve the issue:
1. Login to the Windows server and go the path %plesk_bin% from the command prompt.
2. You can retrieve the current policy and restricted/allowed IPs from the following commands:
%plesk_bin%\dbclient.exe --direct-sql --sql="select * from cp_access"
OUTPUT
id type netaddr netmask
1 allow XX.X.XX.XX 255.255.255.255
2 deny XX.X.XX.XX 255.255.255.255
%plesk_bin%\dbclient.exe --direct-sql --sql="select * from misc where param='access_policy'";
OUTPUT
param val
access_policy deny
3. To clear the access policy settings remove all the records from the "cp_access" table and set policy to "allow"
%plesk_bin%\dbclient.exe --direct-sql --sql="update misc set val='allow' where param='access_policy'";
No comments:
Post a Comment