IP Blocking
In the WordPress admin, go to Settings → Blocked IPs. Blocked IP addresses are listed in a simple table.
Click + Block IP to open a dialog. Enter the IP address and a reason. Choose Cancel to close without saving, or confirm using the red Block IP button. After you confirm, that address appears in the table.