@ Edit the iptables file
$ vim /etc/sysconfig/iptables
@ Add the following line.
------------------------------------------------------------------
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8081 -j ACCEPT
------------------------------------------------------------------
@ And then, just restart.
$ /etc/init.d/iptables restart
No comments:
Post a Comment