Re: how to open a tcp port?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]






 
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@xxxxxxxxxx
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 ?

 
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux