- Plesk for Linux
- Plesk shows the following error in starting the migration, where 203.0.113.2 is the IP-Address of the target server:
PLESK_ERROR: Failed to connect to target Plesk server by Plesk API: Plesk error : Access to API is disabled for 203.0.113.2
It is possible to telnet to the target server on 8443 port locally and remotely. For example:
# telnet example.com 8443
Connected to 203.0.113.3.
Escape character is '^]'.
Plesk IP access policy is configured at Plesk > Tools & Settings > Restrict Administrative Access on the target server.
The target server is not accessible by Plesk API locally.
- Go to Plesk > Tools & Settings > Restrict Administrative Access (under “Security”) > Settings > select Denied from the networks that are not listed > Add Network > add IP address of the target server.
Connect to the target via SSH;
# plesk db dump > psa_backup.sql
Access the Plesk database:
# plesk db
Add IP address of the target server to the list of allowed IP addresses:
mysql> insert into cp_access (type, netaddr, netmask) values ('deny' , '203.0.113.2', '255.255.255.255');
203.0.113.2- IP address of the target server.