telnet nmap netstap
yum install nmap
[root@10-13-109-236 ~]# nmap localhost Starting Nmap 6.40 ( http://nmap.org ) at 2019-05-27 21:44 CST Nmap scan report for localhost (127.0.0.1) Host is up (0.0000030s latency). Other addresses for localhost (not scanned): 127.0.0.1 Not shown: 996 closed ports PORT STATE SERVICE 22/tcp open ssh 8031/tcp open unknown 8088/tcp open radan-http 9000/tcp open cslistener Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds [root@10-13-109-236 ~]# netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:34343 0.0.0.0:* LISTEN tcp 0 0 localhost:cslistener 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:50090 0.0.0.0:* LISTEN tcp 0 0 localhost:39596 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:8013 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:50070 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN tcp 0 0 localhost:radan-http 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:50010 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:50075 0.0.0.0:* LISTEN tcp 0 0 localhost:8030 0.0.0.0:* LISTEN tcp 0 0 localhost:8031 0.0.0.0:* LISTEN tcp 0 0 localhost:pro-ed 0.0.0.0:* LISTEN tcp 0 0 localhost:mindprint 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:50020 0.0.0.0:* LISTEN tcp 0 0 localhost:45410 localhost:cslistener TIME_WAIT tcp 0 0 localhost:45392 localhost:cslistener ESTABLISHED tcp 0 0 10-13-109-236:55700 10.13.255.3:http TIME_WAIT tcp 0 0 localhost:cslistener localhost:45402 ESTABLISHED tcp 0 0 localhost:cslistener localhost:45392 ESTABLISHED tcp 0 0 localhost:45402 localhost:cslistener ESTABLISHED tcp 0 0 10-13-109-236:8013 218.17.157.25:64548 ESTABLISHED tcp 0 0 10-13-109-236:38554 10.13.255.4:http TIME_WAIT tcp 0 36 10-13-109-236:ssh 218.17.157.25:64498 ESTABLISHED tcp6 0 0 [::]:ssh [::]:* LISTEN udp 0 0 10-13-109-236:ntp 0.0.0.0:* udp 0 0 localhost:ntp 0.0.0.0:* udp 0 0 0.0.0.0:ntp 0.0.0.0:* udp6 0 0 [::]:ntp [::]:* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 15368 /run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 12941 /run/systemd/private unix 3 [ ] DGRAM 1438 /run/systemd/notify unix 2 [ ] DGRAM 1440 /run/systemd/cgroups-agent unix 2 [ ACC ] STREAM LISTENING 1448 /run/systemd/journal/stdout unix 5 [ ] DGRAM 1451 /run/systemd/journal/socket unix 7 [ ] DGRAM 1453 /dev/log unix 2 [ ] DGRAM 13002 /run/systemd/shutdownd unix 2 [ ACC ] STREAM LISTENING 16589 /var/run/acpid.socket unix 2 [ ACC ] SEQPACKET LISTENING 13012 /run/udev/control unix 2 [ ] STREAM CONNECTED 31419 unix 2 [ ] STREAM CONNECTED 33636 unix 2 [ ] DGRAM 13923 unix 2 [ ] DGRAM 13868 unix 2 [ ] STREAM CONNECTED 34573 unix 3 [ ] STREAM CONNECTED 33838 unix 3 [ ] STREAM CONNECTED 13845 unix 2 [ ] DGRAM 11017 unix 2 [ ] STREAM CONNECTED 35985 unix 2 [ ] STREAM CONNECTED 34229 unix 2 [ ] DGRAM 13820 unix 3 [ ] STREAM CONNECTED 33837 unix 3 [ ] STREAM CONNECTED 13844 unix 2 [ ] STREAM CONNECTED 31531 unix 2 [ ] STREAM CONNECTED 33834 unix 2 [ ] STREAM CONNECTED 36857 unix 2 [ ] DGRAM 15405 unix 3 [ ] STREAM CONNECTED 8920 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 13846 /run/dbus/system_bus_socket unix 2 [ ] DGRAM 15519 unix 3 [ ] STREAM CONNECTED 16546 /run/systemd/journal/stdout unix 2 [ ] DGRAM 15060 unix 3 [ ] STREAM CONNECTED 14867 /run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 16679 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 15843 unix 3 [ ] DGRAM 11107 unix 3 [ ] STREAM CONNECTED 16439 unix 3 [ ] STREAM CONNECTED 16487 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 13883 /run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 16440 /run/systemd/journal/stdout unix 2 [ ] STREAM CONNECTED 30390 unix 3 [ ] STREAM CONNECTED 16683 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 15517 unix 3 [ ] STREAM CONNECTED 15392 unix 2 [ ] DGRAM 11094 unix 2 [ ] STREAM CONNECTED 41383 unix 3 [ ] DGRAM 11106 unix 3 [ ] STREAM CONNECTED 8919 unix 3 [ ] STREAM CONNECTED 15457 unix 3 [ ] STREAM CONNECTED 14562 unix 2 [ ] DGRAM 8832 unix 3 [ ] STREAM CONNECTED 15656 unix 3 [ ] STREAM CONNECTED 16385 unix 3 [ ] STREAM CONNECTED 15701 unix 3 [ ] STREAM CONNECTED 13832 /run/systemd/journal/stdout [root@10-13-109-236 ~]#