Monday, 27 May 2013

How to add or get a port opened in LINUX

Make sure you have the "root" access

--> Go to /etc/sysconfig
--> There we have two files iptables and ip6tables ,make the following entries in those tables

iptables:-->>  -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT

ip6tables:-->>  -A RH-Firewall-1-INPUT -m tcp -p tcp --dport 8080 -j ACCEPT

The following port will not be blocked anymore by the Firewall on your LINUX machine

No comments:

Post a comment