The IP is banned if:
- there are no valid logins from the same IP AND
- there are at least 5 wrong login attempts from the same IP AND
- the most recent login attempt is less than 5 days ago
So, when this happens it's necessary to wait 5 days to be able to login again. The console (127.0.0.1) is not subject to this check.