2010/3/3 hadi motamedi <motamedi24 at gmail.com>: > > > On Wed, Mar 3, 2010 at 11:32 AM, Samuel Contesse > <samuel.contesse at softcomponent.ch> wrote: >> >> Try /sbin/iptables –L >> >> On 03.03.10 12:26, "hadi motamedi" <motamedi24 at gmail.com> wrote: >> >> >> >> On Wed, Mar 3, 2010 at 11:14 AM, Samuel Contesse >> <samuel.contesse at softcomponent.ch> wrote: >> >> Hi, >> >> Assumed that iptables has been disabled during installation, >> /etc/sysconfig/iptables might not be present on your system. Can you print >> iptables running configuration out by using: >> >> iptables –L >> >> Sam >> >> >> >> On 03.03.10 12:05, "hadi motamedi" <motamedi24 at gmail.com> wrote: >> >> Dear All >> On my CentOS , I want to open tcp port 4965 but my server does not contain >> /etc/sysconfig/iptables . Can you please let me know how to open this port ? >> Thank you >> ________________________________ >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos >> >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos >> >> >> I issued 'iptables -L' but it is returning just the followings : >> 'Usage: /etc/rc.d/init.d/iptables >> {start|stop|restart|condrestart|status|panic|save}' >> Can you please let me know why? >> >> >> >> ________________________________ >> >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos >> >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > > I tried for '/sbin/iptables -L' and please find its output at below : > Chain INPUT (policy ACCEPT) > target prot opt source destination > Chain FORWARD (policy ACCEPT) > target prot opt source destination > Chain OUTPUT (policy ACCEPT) > target prot opt source destination All ports are open, but you really need some service to listen that port. -- Eero