• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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