IP Banned Locally?1 user found helpful
Not sure if this is the right forum for this particular issue but I just tried to log in to my dashboard this evening (i'm running my site locally at the moment) and when I put my login details in I got this message :
Unable to complete action: your IP address has been banned. Please contact the administrator of this site for more information.
I'm totally fresh to concrete5 so I have literally no idea what to do now. Do I have to reinstall?
I have not encountered this before, but here is something you can try if you are using version 5.7.
- create a concrete.php file in application\config
- paste this code into concrete.php
I would not recommend using this on a live site. I believe it would add a potential vulnerability.
Can we use this code in live instance?
I have cleared the IP addresses from the table UserBannedIPs. But, just to make sure this issue is not encountered again.
Managed to remove the IP ban by going to my database in phpMyAdmin, going to the table 'UserBannedIPs' and deleting the offending (+ only) row.
you can find it on the concrete5 site at
The solution worked great. Now I am up and running again.
The basics are
1) when you can't login, send yourself an email from the "forgot password" link. (even though you are on a localhost,and even if you used a fake email address this works for this solution)
2) Open your PhpMyAdmin
3) click on your database
4) find and open the LOGS table
5) Even if you brilliantly setup concrete5 with a fake email, the message Concrete5 is trying to send will be logged here. Go ahead and look at the content of that email. There will be a link in it. Click that link.(or copy and paste the link in your browser)
Hope this helps someone else.
phpMyAdmin should be available in your web host control panel.