101 reputation
1
bio website
location Bangalore, India
age 36
visits member for 2 years, 3 months
seen Dec 3 at 14:20

Sep
11
comment Opening up port 8080 in CentOS
In case anbody has experienced that the port didn't open after giving this command, you may have a target REJECT already existing in the INPUT chain and your new rule only added after that (I had this problem) which never reaches. So you have to insert your rule before the REJECT. First use iptables -L -n --line-numbers to display all rules with numbers and then use iptables -I INPUT <n> instead of iptables -A INPUT in the command in the answer (where <n> was the number of the REJECT target). This will insert your new rule above the REJECT and it should work.
Sep
10
awarded  Supporter