How to open a port in Centos 6

view full story

http://serverfault.com – I'm a newbie at Centos. I need to open a few ports in Centos. I've googled it a little bit, and found something like this. -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 143 -j ACCEPT But it gives the following error when i try to restart iptables iptables: Applying firewall rules: iptables-restore: line 13 failed How can I open ports in Centos 6 (HowTos)