Page 1 of 1

Your connection to this server has been blocked in this server's firewall.

Posted: Wed Oct 05, 2016 5:50 am
by sharma
Hi,

Today when i visit my website i got the error message which is mentioned in the subject?. Does that means my local Ip address is blocked by server?. Whats the possible to unblock the same?

Re: Your connection to this server has been blocked in this server's firewall.

Posted: Thu Oct 06, 2016 4:18 am
by felix
Yes, most probably. One possible way is access the server from a different IP address.

May I know do you have root access to the server or you have only shared hosting account? What kind of hosting account you have?

Re: Your connection to this server has been blocked in this server's firewall.

Posted: Thu Oct 06, 2016 10:45 am
by Martin
Error shows that your IP address is blocked by the server firewall. Firewall will block the IP address if it find anything suspicious from that IP.

1. Do the below steps if you have server root access :

You must check the logs to find the exact reason why you're blocked.

To unblock the IP address : csf -dr <Your IP address>

To whitelist the IP address : csf -a <Your IP address>


If CSF is not installed, you can remove the rule from iptables.

iptables -L --line-numbers = this will display rule with line number

Use "iptables -D" to remove the blocked IP address. Example : iptables -D INPUT 4

The above command will remove INPUT chain line number 4.


2. Contact the hosting provider if you do not have server root access. Without server access IP address cannot be unblocked/whitelisted.


Martin
Support Staff
Nixtree Solutions
Managed Backups || Server Management
https://www.nixtree.com