• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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