I scanned my CentOS server by Nmap and it showed me that below ports are open: I used below commands to see ports and services:
Code: Select all
# netstat -tulpn | grep LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 26978/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 6109/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 5987/mysqld
tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN 5744/clamd
tcp 0 0 :::22 :::* LISTEN 26978/sshd
tcp 0 0 ::1:25 :::* LISTEN 6109/master
tcp 0 0 :::80 :::* LISTEN 6122/httpd
Code: Select all
# lsof -i:5060
#
Thank you.