[CentOS] how to open a tcp port?
eero.volotinen at iki.fi
Wed Mar 3 12:36:33 UTC 2010
2010/3/3 Steve Walsh <steve at nerdvana.net.au>:
> On 03/03/2010 10:26 PM, hadi motamedi wrote:
>> I issued 'iptables -L' but it is returning just the followings :
>> 'Usage: /etc/rc.d/init.d/iptables
>> Can you please let me know why?
> Change directory out of /etc/init.d and into your homedirectory
> As Eero has already told you, if iptables is not running, then it cannot
> be blocking ports. Use netstat to see what ports are listening on what
> IP's, and configure your application appropriately.
> CentOS mailing list
> CentOS at centos.org
In some (rare) case selinux can also cause problems.
try to disable selinux using setenforce "0"
More information about the CentOS