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

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..
Post Reply
sharma
Posts: 0
Joined: Thu Apr 30, 2015 3:21 pm

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

Post 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?



felix

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

Post 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?



Martin
Posts: 36
Joined: Fri Sep 16, 2016 10:34 am

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

Post 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



Post Reply