LionScripts plugin helps to block spam visitors and bad IP addresses on your WordPress website. This plugin allows you to block IP addresses in two ways – Block IPs Manually and Upload IP Address (CSV Format)
First, install and activate the LionScripts plugin on your site. After activating the plugin, click on LionScripts >> IP Address Blocker and add the IP Address. After that click on Save Changes button to store your settings.
Now, this plugin will block the IP address you have added.