[CentOS] how to open a tcp port?

Wed Mar 3 11:26:05 UTC 2010
hadi motamedi <motamedi24 at gmail.com>

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100303/f6c544c6/attachment-0005.html>