check if port 80 is working in 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