Iptables blocking Directadmin port 2222

After the directadmin installation we could see that the login page will not work through the url http://ip:2222 and shows timed out error.

If we disable the iptables, it shows the admin page. In this situation, you can open the port 2222 in the firewall and fix the issue.

Simply do the below steps to enable the port 2222.

iptables -A INPUT -p tcp -m tcp –dport 2222 -j ACCEPT
service iptables save
service iptables restart

Thats it 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *