Quote:
Originally Posted by karthik18121986
|
While they may not have anything officially assigned to them, it isn't as if something can't be bound to those ports. If I wanted to bind openvpn to port 17077, there's nothing to stop me from doing so.
As for the OP, I'd recommend looking at the output of the following command, to be run as root:
Which will show something of this nature:
Code:
[root@node1 ~]# netstat -pantu
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 10.20.72.66:3306 0.0.0.0:* LISTEN 3332/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1271/portmap
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1517/cupsd
tcp 0 0 10.20.72.66:3000 0.0.0.0:* LISTEN 3564/ntop
tcp 0 0 10.20.72.66:3001 0.0.0.0:* LISTEN 3564/ntop
tcp 0 0 0.0.0.0:639 0.0.0.0:* LISTEN 1305/rpc.statd
tcp 0 0 :::80 :::* LISTEN 1826/httpd
tcp 0 0 :::22 :::* LISTEN 1509/sshd
tcp 0 1152 ::ffff:10.20.72.66:22 ::ffff:10.17.5.156:43580 ESTABLISHED 5893/sshd: nedx [pr
tcp 0 0 ::ffff:10.20.72.66:22 ::ffff:10.17.5.156:49398 ESTABLISHED 5588/sshd: nedx [pr
udp 0 0 0.0.0.0:2055 0.0.0.0:* 3564/ntop
udp 0 0 0.0.0.0:5353 0.0.0.0:* 1893/avahi-daemon:
udp 0 0 0.0.0.0:111 0.0.0.0:* 1271/portmap
udp 0 0 0.0.0.0:50293 0.0.0.0:* 3188/openvpn
udp 0 0 0.0.0.0:631 0.0.0.0:* 1517/cupsd
udp 0 0 0.0.0.0:58617 0.0.0.0:* 1893/avahi-daemon:
udp 0 0 0.0.0.0:633 0.0.0.0:* 1305/rpc.statd
udp 0 0 20.25.15.142:123 0.0.0.0:* 1531/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 1531/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 1531/ntpd
udp 0 0 0.0.0.0:636 0.0.0.0:* 1305/rpc.statd
udp 0 0 :::42013 :::* 1893/avahi-daemon:
udp 0 0 :::5353 :::* 1893/avahi-daemon:
udp 0 0 fe80::217:3eff:fe1d:123 :::* 1531/ntpd
udp 0 0 ::1:123 :::* 1531/ntpd
udp 0 0 :::123 :::* 1531/ntpd
You will see what ports are open, what app is bound to them, and the process ID as well.