[CentOS] how to open a tcp port?
motamedi24 at gmail.com
Wed Mar 3 12:21:37 UTC 2010
> 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)
> CentOS mailing list
> CentOS at centos.org
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:*
# 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...
More information about the CentOS