Unable to log in to Plesk, login page shows error:
Please keep in mind that the cause of the above error is that the current Plesk IP access policy does not allow to log in from a particular IP address.
This setting is configured at Plesk > Tools & Settings > Restrict Administrative Access.
The issue can be resolved by adding your IP address to the list of the allowed IP addresses or disabling the IP restriction policy. We will go through both options:
- Adding your IP address to the list of the allowed IP addresses:
- Connect to a Plesk server via SSH or RDP for Windows servers.
- Access the Plesk database (on Windows Server use command prompt as an Administrator):
# plesk db "INSERT INTO cp_access (type, netaddr, netmask) VALUES ('deny' , '203.0.113.2', '255.255.255.255')"
*where 203.0.113.2 - your IP address
- Disabling the IP restriction policy:
For Windows:
- Connect to a Plesk server via RDP;
- Start a command prompt as an Administrator and create a dump of the Plesk database;
- Clear the access policy settings:
a) Remove all records from the "cp_access" table:b) Set the policy to allow:
For Linux:
- Connect to a Plesk server via SSH;
- Create a dump of the Plesk database;
- Clear the access policy settings:
a) Remove all records from the "cp_access" table:
# plesk db "DELETE FROM cp_access"
b) Set the policy to allow:
# plesk db "UPDATE misc SET val='allow' WHERE param='access_policy'"