[CentOS] how to open a tcp port?

Wed Mar 3 12:21:37 UTC 2010
hadi motamedi <motamedi24 at gmail.com>

>
> 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
>     State
> tcp        0      0 0.0.0.0:4965                0.0.0.0:*
>     LISTEN
>
> or pipe it to grep if the server is busy (netstat -ant | grep 4965)
>
> Regards,
>  Andrew.
>  _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Thank you . How can I distinguish which package is missing from my CentOS
server and try to just add it (rather than trying for a fresh CentOS
re-installation) ? On another machine similar to mine , the output is as :
# netstat -ant |grep 4965
tcp        0      0 0.0.0.0:4965            0.0.0.0:*               LISTEN
# netstat -anp |grep 4965
tcp        0      0 0.0.0.0:4965            0.0.0.0:*
LISTEN      1090/iptrans
# lsof -i |grep 4965
iptrans    1090 root   21u  IPv4       1764       TCP *:4965 (LISTEN)
On that machine , the 'telnet ip-addr 4965' can get through . So which
package do I need to add to mine ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100303/b30aa807/attachment-0005.html>