• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Plesk Migration stopped working API issue

Alaa Mansour

Basic Pleskian
Hello,

I was doing the migration, then suddenly I receive this:

Failed to connect to target Plesk server by Plesk API: Plesk error [1006]: Access to API is disabled for xx.xx.xx.xx

I have added the IP through plesk db:
mysql> insert into cp_access (type, netaddr, netmask) values ('deny' , 'xx.xx.xx.xx', '255.255.255.255');

I have added it also to fail2ban trusted IPs

I have added it also to Panel.ini under [api]
[api]
enabled = on
allowedIPs = xx.xx.xx.xx

what else?

PS: today I have configured ssl ciphers and TLS, but I issue plesk repair installation
 
I have managed to resolve the issue by putting the IP of the both servers inside [api] in both Panel.ini
and both server's IP inside IP Access Restriction Management.
I don't know why do I need to place the IP of itself. but now its working
 
Back
Top