How to configure apache and iptables to allow incoming connections ubuntu server?

I am trying to configure my server to allow apache running on port 80 to allow incoming connections. I ran this command

sudo iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT

But Still I can't get the page from other computer browsers but , when I type localhost in my PC browser , everything is fine.Is there any other thing to configure for accepting incoming traffic ?


Try

iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT