Originally Posted by toastmaster
# iptables -I INPUT 5 -d 127.0.0.1 -s 127.0.0.1 -j ACCEPT
This fixed the problem but I am just wanted to make sure this was the correct thing to do or if there is a better way to do this. I am a n00b so I just wanted to make sure that I am not doing anything wrong that will compromise the system.
I guess you mean
iptables -I INPUT -d 127.0.0.1 -s 127.0.0.1 -j ACCEPT
It's ok, because it's only for connection within your server, not from the outside world.