How to fix WHMCS login failed errors caused by IP ban
WHMCS is a commonly used ‘client, billing and support’ portal for businesses. To protect the confidentiality of data stored in it, this software has many security features.
IP ban is such a security feature in WHMCS to prevent unauthorized access to the portal. Anyone trying to login from a banned IP will get a ‘WHMCS login failed’ message.
Security features for WHMCS login attempts
In WHMCS, the option ‘Whitelisted IPs‘ in ‘General Settings -> Security‘ tab helps to allow access from certain authorized locations. You can add and remove IPs from this list.
Once an IP address is added to this Whitelist, users who try to login from this IP would never be blocked from accessing the WHMCS.
But it may not be possible to add all the user IPs to this list, especially in cases where there are a huge number of user accounts in the system.
Another security feature in WHMCS is banning IPs from which failed login attempts happen. This is done to block hackers who try to attempt login to the WHMCS.
However this ban is a temporary setting, and will be waived after a time duration. The ‘Failed Admin Login Ban Time’ can be used to set this duration of ban.
A user who is not whitelisted and fails to provide valid login credentials for 3 times, will be banned from accessing WHMCS for the next 15 minutes and unblocked afterwards.
This automatic unban feature is used to facilitate valid users who happen to face login failures due to incorrect credentials or after forgetting their account details.
To ban suspicious IPs permanently from WHMCS, the options ‘Setup -> Other -> Banned IPs’ can be used.
How WHMCS login failed error happens
Suppose you tried to login to your WHMCS account and accidentally entered the password wrong thrice. Your IP will be banned and you will see the message:
Your IP 122.181.*.** Ban Reason: 3 Invalid Login Attempts Ban Expires: 25/05/2013 11:43
This means that your IP is added to the banned list of IPs in WHMCS and you would not be able to access WHMCS until the ban is waived by the software.
The list of banned IPs are stored in the WHMCS database table ‘tblbannedips’. To login again, you need to remove your banned IP from this table.
Bobcares provides Outsourced Hosting Support and Outsourced Server Management for online businesses. Our services include Hosting Support Services, server support, help desk support, live chat support and phone support.