[CentOS] how to open a tcp port?

Samuel Contesse samuel.contesse at softcomponent.ch
Wed Mar 3 11:32:43 UTC 2010


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20100303/a8acd5a9/attachment.html 


More information about the CentOS mailing list