Sunday, October 20, 2013

Opening port on linux

I used below to open 7001 port from root as application was not able to reach .

iptables -t filter -I INPUT -p tcp --dport 7001 -j ACCEPT
service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
iptables -t filter -nL

No comments:

Post a Comment