My site is getting a XMLRPC attack. I use jetpack, so can't disable XMLRPC. Any solution?

Hi, I’m getting constant login failure message from my website After checking the logs I found it is an XMLRPC attack. I read somewhere that disabling xmlrpc is the only best solution, but since I use Jetpack and Wordpress app on mobile I cannot do that. I have added security plugins and also password protected wp-login page as a second layer protection, enabled protection in Jetpack options, Have added WordFence. But I still get the same login failure warning almost every 30 minutes. I can see Wordfence is blocking those IPs but it just keeps happening from different IPs Can anyone please help me with this?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


Attempts to brute-force logins are pretty common with WordPress, which is why security plugins such as those that you’re using exist – since the functionality doesn’t exist in the WordPress core.

Attacks are normally persistent and without blocking an IP range, which could ultimately block a valid user from accessing your site, the best thing to do is what you’re already doing. Let the plugins do the job they were designed for, make sure you’re using secure passwords that are 16-32 characters long minimum and consist of random characters (i.e. no dictionary words, special dates, events, etc), etc.

Most attacks stem from dynamic IP’s, which is why you’re seeing them, so that much is common. As long as you’re seeing the WordPress plugins working, then you should be fine. Just make sure you’re as secure as possible, including on-server.