how to check port used in centos code example
Example 1: netstat command in linux to check specific port
netstat -tulpn | grep :80
Example 2: show port list in centos
# netstat -tulnp
netstat -tulpn | grep :80
# netstat -tulnp