how to check working port on centos code example
Example 1: show port list in centos
# netstat -tulnp
Example 2: netstat centos ports
sudo ss -lntu
sudo netstat -ltup
sudo netstat -tulnp
# netstat -tulnp
sudo ss -lntu
sudo netstat -ltup
sudo netstat -tulnp