[CentOS] how to open a tcp port?
spookza at gmail.com
Wed Mar 3 11:58:46 UTC 2010
On 3 March 2010 13:46, hadi motamedi <motamedi24 at gmail.com> wrote:
>> All ports are open, but you really need some service to listen that port.
> Thank you . So why 'telnet 172.16.17.132 4965' cannot get through ?
As Eero said, you need to make sure something is listening on that port.
Try: netstat -ant and look for:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
tcp 0 0 0.0.0.0:4965 0.0.0.0:*
or pipe it to grep if the server is busy (netstat -ant | grep 4965)
More information about the CentOS